- Fork the
distributedlife/p2repository - Checkout
your_fork/p2and make sureoriginis the name of the remote - Ensure there is a branch called
gh-pagesin your new fork - be careful: The script
rm -rf *the../publicand../redirectsfolder from whereverpublish.shis called. Make sure you don't have such folders. ./publish.sh "some commit message"
- This script will call
rake generate - It will delete the
../publicand../redirectsfolders - It will then copy
publicandredirectsup a directory - It will then checkout the
gh-pagesbranch - It does a
pull --rebase - It will
rm -rf *the entire repo - It will copy back in the
publicandredirects - It adds all the things into the repo
- It makes a commit using your message
- It pushes to
origin gh-pages - It checks out source.
We publish a new issue on the first Tuesday of each month.
- Make sure you have push rights to
thoughtworks/p2 - Add a remote called
twthat goes tothoughtworks/p2 - Run the
./to_prod_and_beyond.sh. It's exactly the same as thepublish.shscript except the repo is hard-coded totw gh-pages