Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
/ sinatrails Public archive

Sinatra bootstrap project with Rails-like directory structure and Active Record

License

Notifications You must be signed in to change notification settings

kuntoaji/sinatrails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatrails is sinatra bootstrap project that suit to my needs to create web application with Rails-like directory structure, Active Record as ORM, and jQuery. Support all ActiveRecord rake tasks except db:copy_migrations and db:fixtures

  1. git clone git://github.com/kuntoaji/sinatrails.git

  2. bundle install

  3. edit config/database.yml based on your database configuration

  4. run rake db:create to create database

  5. run rake db:migrate to run migration

  6. run rake populate_dummy to create dummy users.

  7. run ./scripts/test -u to run all unit test or ./scripts/test -u user to run test/unit/user_test.rb.

  8. run ./scripts/test -i to run all integration or ./scripts/test -i user to run test/integration/users_controller_test.rb.

  9. run ./scripts/test -u -i to run all unit test and all integration test

  10. ./scripts/server -s thin to execute the thin server or ./scripts/console to the console.

Author

Kunto Aji Kristianto <kunto.aji.kr@gmail.com>

Copyright © 2010 Kunto Aji Kristianto, Sinatrails is released under the MIT license.

About

Sinatra bootstrap project with Rails-like directory structure and Active Record

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published