Installing a New Copy of Your Application
Sooner or later, you will face the task of installing a new copy of your application - either you get a new developer on your team or you need to deploy your app to a testing/staging/live environment. With all the work we just invested that's a simple task. Here's what you do:
- Check out or export your application from the VCS.
- Copy and adapt the build script in dev/bin/
- Call dev/bin/agavi public-create and answer the questions (we assume a development-joe-rambo environment here):
bloggie$ dev/bin/agavi public-create Name of the environment to bootstrap in dispatcher scripts [development]: development-joe-rambo Should an Apache .htaccess file with rewrite rules be generated (y/n) [n]?
This will copy all files from dev/pub to the appropriate place in app/pub and adjust the environment to bootstrap. Add configs for your new environment as needed, done.

