design by objective subject
bundle install
bundle exec rake
- Browse to
http://localhost:4000
Pushing to the staging
or master
branch will trigger an auto-build on the Heroku server, which will deploy the built site to staging or production on Amazon S3.
Important: Do not undo commits with git reset
followed by a force push like git push origin +staging
- it will mess up the auto-build server. Always make a new commit to undo changes, or use git revert
.
Important: the Gemfile of the auto-build server on Heroku must contain all the gems in the Gemfile of this repo. If you update the Gemfile here, make sure to apply the same changes to the Gemfile of the auto-build server repo and push to Heroku there before you push to staging
or merge into master
here.
- push to the
staging
branch on GitHub - wait 60 seconds
- Browse to
http://fi-website-staging.s3-website-us-east-1.amazonaws.com/
- Recommended Process: Do not push to
master
from command line. Work on GitHub. - Test any change on
staging
first. Make pull request fromstaging
tomaster
. Merging a pull request equals a push. - wait 60 seconds
- Browse to
http://functionalimperative.com/
- auto-generates sitemap: _site/sitemap.xml