Don't forget -T -d postgresql. One day create a template and builder
- rails new AppName -T -d postgresql
- rails generate rspec:install In application.rb:
config.generators do |g|
g.view_specs false
end
In config/environments/development.rb
:
config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload)
- guard init livereload
- guard init rspec
- guard
Edit boostrapandoverride to remove the 60px. Comment scaffold.css generated by rails.
- rails g bootstrap:install
- rails g bootstrap:layout application fixed
- rails generate simple_form:install --bootstrap
- rails generate devise:install
- rails generate devise User
- rails generate devise:views
- createuser MyApp --superuser
- createdb -OMyApp -Eutf8 MyApp_development
- createdb -OMyApp -Eutf8 MyApp_test
- psql -U MyApp MyApp_development