Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

kuntoaji/sinatrails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

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

How to use

  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

Author

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

License

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