Deploying a New Mercurial Source Project
Assume your project is named "alligator".
- Add a CNAME entry for "alligator-source" on linode DNS manager, pointing to goonmill.org (takes up to 15 minutes to become live)
- hg init /usr/local/Alligator
Edit ServicesRunning and add an entry for it, choosing a new port in the 28080 range
- Copy a Makefile from another project, and edit to give the project its own hg serve instance, on the port you chose above
- Commit the Makefile to the project.
- Edit /usr/local/PROJECTS.txt to make it possible for hgserve to find this project on reboot
(Optional) Add the project to DevelopmentCentral
- Copy /etc/nginx/sites-available/goonmill-source.goonmill.org to alligator-source.goonmill.org and symlink it over to sites-enabled
- Edit alligator-source.goonmill.org as needed
- sudo /etc/init.d/hgserve restart
- sudo /etc/init.d/nginx reload
