Sandbox:sendlove

Setup Sandbox
Sendlove is a collection of 7 different apps that had development in different velocities and phases. While originally this was to facility agile development, it increased the complexity of the deploy process.

With the move back to 'sendlove', all the external projects have been mapped back in to one repository. As this process is refined, we will be building tools to more completely configure the sandbox.

These instructions bypass the cupid auto-configuration system for a 'cached' copy that is editable by the mechanic.

Checkout Release
A new sandbox called 'sendlove_####' will be created on accepted bids, or invoke: svn checkout https://svn.worklist.net/svn/repos/sendlove ~/public_html/

Configure Sendlove
Create a copy of the current default config cd ~/public_html/ / cp autoconfig.php.default autoconfig.php

Edit the autoconfig.php file and change the SANDBOX_BASE_URL to match define('SANDBOX_URL_BASE','/~ / ')

Configure Projects
cd ~/public_html/
 * First change to sandbox directory to make this more pasteable

for project in trial login admin contrib sales review love; do svn up ${project}; done
 * For each project, perform an svn update

cp love/server.local.php.autodefault love/server.local.php (You should now be able to goto the sandbox url and see the login page)
 * Love - copy server.local.php.autodefault

mv admin adminroot; ln -s adminroot/public admin cp admin/.htaccess_default admin/.htaccess RewriteBase /~ / /admin
 * Admin - configure sandbox path
 * deploy .htaccess_default
 * change .htaccess RewriteBase parameter to sandbox path

cp review/server.local.php.autodefault review/server.local.php
 * Review - copy server.local.php.autodefault

cp contrib/server.local.php.autodefault contrib/server.local.php cp contrib/.htaccess_default .htaccess http://dev.worklist.net/~ / /contrib/compiler.?app=love&compile=y&who=ALL http://dev.worklist.net/~ / /contrib/compiler.?app=review&compile=y&who=ALL
 * Contrib - copy server.local.php.autodefault and .htaccess_default
 * Compile javascript