Skip to content
Snippets Groups Projects
Commit d32e70ec authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Merge pull request #2064 from fmarier/hacking_deployed_code

Add instructions on hacking things directly in code/

I just tested this sequence on an instance.  Works beautifully.

r+
parents 1055d782 78d6364c
No related branches found
No related tags found
No related merge requests found
......@@ -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`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment