docker
, docker-machine
(if on OS X), and docker-compose
../bin/bootstrap_docker.sh
and follow its instructions. You can log in with the user test@example.com
and password password
To run standard commands in Docker, prefix them with docker-compose run web
. For example:
docker-compose run rake
docker-compose run rails c
commonplace-staging.herokuapp.com is the URL for staging hosted on Heroku (there are also personal stagings - they do not have Sunspot available).
Set the remote with git remote add staging git@heroku.com:commonplace-staging.git
Push to staging with git push -f staging
Push a branch to staging with git push -f staging branch-name:master
It's nice to have reasonable assurrance that you didn't bork something by making a simple change or git merge. That's why we <3 tests. Write them to conform to the spec before you start writing the feature, and write the feature to conform to the tests. Anything going into master should pass all test cases, and all new code should be tested to the hilt.