Last active
August 29, 2015 14:10
-
-
Save tiste/716a0e3094428a036ef7 to your computer and use it in GitHub Desktop.
ecosystem.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apps": [{ | |
"name": "iwishit", | |
"script": "app.coffee", | |
"env_production": { | |
"NODE_ENV": "production" | |
} | |
}], | |
"deploy": { | |
"production" : { | |
"user": "admin", | |
"host": "178.62.8.158", | |
"ref": "origin/master", | |
"repo": "[email protected]:tiste/iwishit.git", | |
"path": "/home/admin/apps/iwishit", | |
"post-deploy": "npm install && ln -fs /home/admin/apps/iwishit/shared/config/.env && ln -fs /home/admin/apps/iwishit/shared/config/ecosystem.json && ln -fs /home/admin/apps/iwishit/shared/config/knexfile.coffee && PORT=3002 pm2 reload iwishit --env production" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment