Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
ucc-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 718a2fdc
authored
2023-12-18 08:05:24 +0000
by
root
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated
1 parent
a8d2834b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
deploy.sh
ecosystem.config.js
package.json
deploy.sh
View file @
718a2fd
git pull
pm2 stop strapiapp
pm2 start strapiapp
sudo git pull
sudo pm2 stop ucc_backend
sudo pm2 start ucc_backend
ecosystem.config.js
View file @
718a2fd
module
.
exports
=
{
apps
:
[
{
name
:
'
strapiapp
'
,
name
:
'
ucc_backend
'
,
script
:
'npm'
,
args
:
'start'
,
instances
:
7
,
exec_mode
:
"cluster"
,
args
:
'run start_prod'
,
},
],
};
package.json
View file @
718a2fd
...
...
@@ -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"
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment