-
New Site Cheat Sheet
last modified April 3 by ra
Concise set of steps for generating a brand new OpenPlans site deployment.
- make sure relevant DNS settings are correct, i.e. that the hostnames resolve. for every FQDN (e.g. 'site.example.com') you'll also want to specify a 'root' FQDN that will expose Zope directly (e.g. 'siteroot.example.com')
- become 'openplans' user on the machine in question
- examine /usr/local/topp/build-scripts/newsite.ini to make sure that the settings match what you want
- $ cd /usr/local/topp
- $ python ./build-scripts/newsite.py SITE_FQDN BASE_PORT
- $ cd /usr/local/topp/SITE_FQDN
- (possibly) svn copy an existing configuration set from a similarly configured host, hand tweak .ini and GS profile settings to get the right email_from_address, site title, etc.
- $ ./newbuild.sh REQ_SVN_DIR
- examine /usr/local/topp/SITE_FQDN/apache.conf to see if it looks as expected, then (if so) paste it's contents into the httpd.conf file and restart apache
- add appropriate rewrite rule to squid configuration in /etc/squid/squidRewriteRules.py and restart squid