Commit 718a2fdc by root

updated

1 parent a8d2834b
git pull sudo git pull
pm2 stop strapiapp sudo pm2 stop ucc_backend
pm2 start strapiapp sudo pm2 start ucc_backend
module.exports = { module.exports = {
apps: [ apps: [
{ {
name: 'strapiapp', name: 'ucc_backend',
script: 'npm', script: 'npm',
args: 'start', args: 'run start_prod',
instances : 7,
exec_mode : "cluster",
}, },
], ],
}; };
...@@ -4,10 +4,12 @@ ...@@ -4,10 +4,12 @@
"version": "0.1.0", "version": "0.1.0",
"description": "A Strapi application", "description": "A Strapi application",
"scripts": { "scripts": {
"develop": "strapi develop", "develop": "strapi develop -p 1339",
"start": "strapi start", "start": "strapi start -p 1339",
"build": "strapi build", "build": "strapi build",
"strapi": "strapi" "strapi": "strapi",
"start_prod": "NODE_ENV=production strapi start",
"build_prod": "NODE_ENV=production strapi build"
}, },
"dependencies": { "dependencies": {
"@strapi/plugin-i18n": "4.3.6", "@strapi/plugin-i18n": "4.3.6",
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!