feat: 초기 프로젝트 설정 및 룰.md 파일 추가
This commit is contained in:
22
api.hyungi.net/node_modules/pm2/lib/templates/ecosystem.tpl
generated
vendored
Normal file
22
api.hyungi.net/node_modules/pm2/lib/templates/ecosystem.tpl
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
module.exports = {
|
||||
apps : [{
|
||||
script: 'index.js',
|
||||
watch: '.'
|
||||
}, {
|
||||
script: './service-worker/',
|
||||
watch: ['./service-worker']
|
||||
}],
|
||||
|
||||
deploy : {
|
||||
production : {
|
||||
user : 'SSH_USERNAME',
|
||||
host : 'SSH_HOSTMACHINE',
|
||||
ref : 'origin/master',
|
||||
repo : 'GIT_REPOSITORY',
|
||||
path : 'DESTINATION_PATH',
|
||||
'pre-deploy-local': '',
|
||||
'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production',
|
||||
'pre-setup': ''
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user