Quick site setup
From GLMWiki
Setup the file server first
On dev52 from a terminal window:
- Change to the server directory
- cd /var/www/server
- Export the quicksite base files into your new site
- svn export http://cvs2/svn/dev/www.quicksite.com www.newsite.com
- Change into your new site
- cd www.newsite.com
- run "phing" which will ask you questions and guide you through site setup
- phing setup
- Most questions will contain a default answer that can be inserted by pressing Enter / Return without typing any characters
- Y / N questions must be answered with either a capital Y or capital N
- New File server accounts can be setup on the File Server here
- Be sure to fill in all necessary fields
- Owner Name
- Owner Id
- Owner Access Password - Strong Password Generator Remember to UNCHECK use of special characters
- You must set up an account with the same credentials that you used when setting up the quicksite
- Be sure to fill in all necessary fields
- database names are usually simplified versions of urls ie:
- www.greensideup.com => greensideup
- www.wmta.org => wmta
Deploy on web server
Grep new site for dev52 references.
Verify PRODUCTION email addresses
Import site into SVN/prod (svn import -m "new QuickSite" [PATH] URL)
Checkout site on production server.
When you checkout the site to the live server first check it out as a different folder name svn co http://cvs2.gaslightmedia.com/svn/prod/www.sitename.com new.sitename.com then move in the needed folders like admin/logs and move the original out of the way to the backup directory and move in your new copy.
Update .htaccess. Comment RewriteBase.