BohConf Web site
Serve the folder with any web server. For example:
ruby -run -e httpd . -p 9000
gh-pages in sync. Because this is a "Project Page" not a User or Organization Page, we must use the
gh-pages branch and not the
master branch. So, only content on
gh-pages will be published.
In the future, it would be nice to have a BohConf organization, if we made any other codes we wanted to share.
In the meantime, run these commands / follow these steps (instructions below assume you are working in the root director of the
- Update the cache (see below):
- Add new and modified files to the commit:
git commit -am "<your message>"
- Checkout the
git checkout gh-pages
master's changes in:
git merge master
- Go back to
masterso you don't accidentally screw up
git checkout master
git push origin gh-pages
Updating the cache
Before committing (step 1), run
bin/update-manifest to update the cache manifest. This will ensure people with an offline copy will get the update. I recommend using a tool like live to run it on file system changes.
Pages not updating locally?
Sometimes the appcache gets stuck. In chrome visit chrome://appcache-internals/ to clear it manually.