Commit a8ade3fb by root

server commit

1 parent f700dfc6
git pull
pm2 stop strapiapp
pm2 start strapiapp
pm2 stop centralstar_strapi
pm2 start centralstar_strapi
module.exports = {
apps: [
{
name: 'strapiapp',
name: 'centralstar_strapi',
script: 'npm',
args: 'start',
instances : 7,
exec_mode : "cluster",
args: 'run start_prod',
},
],
};
......@@ -7,7 +7,9 @@
"develop": "strapi develop",
"start": "strapi start",
"build": "strapi build",
"strapi": "strapi"
"strapi": "strapi",
"start_prod": "NODE_ENV=production strapi start",
"build_prod": "NODE_ENV=production strapi build"
},
"dependencies": {
"@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!