Change charles to CS
This commit is contained in:
23
ecosystem.config.js
Normal file
23
ecosystem.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
apps : [{
|
||||
name : 'TES',
|
||||
script : 'bin/www',
|
||||
env: {
|
||||
NODE_ENV: 'development'
|
||||
},
|
||||
env_production : {
|
||||
NODE_ENV: 'production'
|
||||
}
|
||||
}],
|
||||
|
||||
deploy : {
|
||||
production : {
|
||||
user : 'node',
|
||||
host : '212.83.163.1',
|
||||
ref : 'origin/master',
|
||||
repo : 'git@github.com:MrARM/TES.git',
|
||||
path : '/var/www/production',
|
||||
'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production'
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user