Commit 718a2fdc by root

updated

1 parent a8d2834b
git pull
pm2 stop strapiapp
pm2 start strapiapp
sudo git pull
sudo pm2 stop ucc_backend
sudo pm2 start ucc_backend
module.exports = {
apps: [
{
name: 'strapiapp',
name: 'ucc_backend',
script: 'npm',
args: 'start',
instances : 7,
exec_mode : "cluster",
args: 'run start_prod',
},
],
};
......@@ -4,10 +4,12 @@
"version": "0.1.0",
"description": "A Strapi application",
"scripts": {
"develop": "strapi develop",
"start": "strapi start",
"develop": "strapi develop -p 1339",
"start": "strapi start -p 1339",
"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!