Create database using last version from db/dump directory.
Execute scripts from db/scripts
Define the environment name in an environment variable.
For example you can add the following line to the web/.htaccess:
SetEnv ENVIRONMENT development
In that case, you may want to configure git so the .htaccess file doesn't appear in the modified files to commit:
$ git update-index --assume-unchanged web/.htaccess
- Add a directory with the environment name in
web/application/config - Copy of the config files with server specific values like
database.php,email.phpandenvironment.php - Edit those files
For more information about using PHP on Heroku, see these Dev Center articles: