TGauge
TGauge is a lightweight Ruby MVC / ORM gem.
Installation
install gem tgauge
Usage
New Project
tgauge new [PROJ NAME]
- Creates a new project directory with [PROJ NAME] as the name
tgauge server
- Runs the server
Generate (g)
tgauge g migration [name]
- Creates an empty SQL file in
db/migrations/
with a timestamp.
- Creates an empty SQL file in
tgauge g controller [name]
- Creates a controller file with a directory in views.
tgauge g model [name]
- Creates a model file and a migration file.
Database (db)
tgauge db create
- Sets up the database
tgauge db seed
- Seeds the database from
db/seeds
- Seeds the database from
tgauge db migrate
- Runs any migrations in
db/migrations/
- Runs any migrations in
tgauge db reset
- Creates / migrates / seeds the database
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/nryulkim/TGauge.