This is a template that will set you up with a new project using:
- Postgres
- Devise
- Web App Theme
- Simple Form
And the following for testing:
- Rspec with Capybara & Factory Girl
- Database Cleaner, Shoula & Launchy
- Autotest with Growl
For development:
- Wirble
- Hirb
- Awesome Print
- Bullet
The project is all setup with a user signup & login flow (slightly modified from Devise), a layout, and specs.
To get started just:
git clone https://github.com/xdotcommer/template.git my_projectcd my_project ; rm -rf .gitmake it your own!bundleset up the gems- setup your database.yml (example listed below)
rake db:create ; rake db:migrate ; rakesetup the database and run the testsrails serverand have a look...
Sample config/database.yml
standard: &standard
adapter: postgresql
host: localhost
username: username
password: password
port: 5432
pool: 5
timeout: 5000
development:
database: template_development
<<: *standard
test:
database: template_test
<<: *standard
production:
database: template_production
<<: *standard