Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
generateur-slogans
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
5fef0618
Commit
5fef0618
authored
Apr 24, 2018
by
Porkepix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a process file
Adapt README and Gitlab CI accordingly
parent
5d0075da
Pipeline
#1922
passed with stage
in 1 minute and 14 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
README.md
README.md
+1
-1
slogan.app.yml
slogan.app.yml
+4
-0
No files found.
.gitlab-ci.yml
View file @
5fef0618
...
...
@@ -26,7 +26,7 @@ deploy preprod:
-
rm -rf node_modules/
-
npm install
-
cp config.json.default config.json
-
sudo /usr/bin/pm2
restart slogan
-
sudo /usr/bin/pm2
startOrRestart slogan.app.yml
-
sudo /usr/bin/pm2 show slogan
only
:
-
preprod
...
...
@@ -42,7 +42,7 @@ deploy prod:
-
rm -rf node_modules/
-
npm install --production
-
cp config.json.default config.json
-
sudo /usr/bin/pm2
restart slogan
-
sudo /usr/bin/pm2
startOrRestart slogan.app.yml
-
sudo /usr/bin/pm2 show slogan
only
:
-
master
...
...
README.md
View file @
5fef0618
...
...
@@ -22,5 +22,5 @@ npm install
We're suggesting the use of pm2 to manage the service
```
sh
pm2 start s
rv.sh
--name
slogan
--watch
pm2 start s
logan.app.yml
```
slogan.app.yml
0 → 100644
View file @
5fef0618
apps
:
-
script
:
./srv.js
name
:
slogan
watch
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment