rails s
- copy paste config.secret_key = 'SOME LONG STRING' into config/initializers/devise.rb
- stop the server
- create file secrets.yml in config/secrets.yml
rake secret
- copy paste output into secrets.yml
development:
secret_key_base: COPY_PASTED_OUTPUT_NOT_IN_QOUTES
- see an example of that file here
- yml is very sensitive to spaces and tabs!
bin/rake db:migrate RAILS_ENV=development
rails s
- create your branch from master
git checkout master
git checkout -b name-of-your-branch
- work on your new branch
- commit your work
- push your branch to github repo
git push -u name-of-origin name-of-your-branch
- create pull request to staging branch