Deploying a New Mercurial Source Project

Assume your project is named "alligator".

  1. Add a CNAME entry for "alligator-source" on linode DNS manager, pointing to goonmill.org (takes up to 15 minutes to become live)
  2. hg init /usr/local/Alligator
  3. Edit ServicesRunning and add an entry for it, choosing a new port in the 28080 range

  4. Copy a Makefile from another project, and edit to give the project its own hg serve instance, on the port you chose above
  5. Commit the Makefile to the project.
  6. Edit /usr/local/PROJECTS.txt to make it possible for hgserve to find this project on reboot
  7. (Optional) Add the project to DevelopmentCentral

  8. Copy /etc/nginx/sites-available/goonmill-source.goonmill.org to alligator-source.goonmill.org and symlink it over to sites-enabled
  9. Edit alligator-source.goonmill.org as needed
  10. sudo /etc/init.d/hgserve restart
  11. sudo /etc/init.d/nginx reload

DeployingNewProjects (last edited 2009-12-27 10:58:01 by CoryDodt)