diff --git a/docs/AWS_DEPLOYMENT.md b/docs/AWS_DEPLOYMENT.md index 5d31edb280e8b3562dd4626670a970b7846be81e..65013b4760d13db067a3c1341bbfb9784ca32cf4 100644 --- a/docs/AWS_DEPLOYMENT.md +++ b/docs/AWS_DEPLOYMENT.md @@ -173,3 +173,16 @@ access to: Feel free to start a new server, and ssh in as `app` to explore all of the configuration. An attempt has been made to isolate as much configuration under this user's account as possible. + +### Hacking the deployed code + +If you want to change anything on your VM, you should really just commit to +your local git repo and then push the changes over to the EC2 instance. + +However, sometimes that doesn't work for some reason and you need to hack +the code directly and restart the services: + + 1. ssh into the VM as the `app` user + 2. hack the currently running code in `/home/app/code/` + 3. run the js combiner/minifier: `/home/app/code/scripts/compress` + 4. restart all of the services: `forever restartall`