Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
blendb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
C3SL
blendb
Commits
ea31a3cb
Commit
ea31a3cb
authored
Oct 18, 2017
by
Lucas Fernandes de Oliveira
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue/51' into 'master'
Issue
#51
: Add service schema to BlenDB See merge request
!42
parents
4f3cd6f2
14cf10e4
Pipeline
#13063
passed with stage
in 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
.gitignore
.gitignore
+1
-0
config/blendb.service.example
config/blendb.service.example
+23
-0
No files found.
.gitignore
View file @
ea31a3cb
...
...
@@ -10,6 +10,7 @@
/bower_components
!/config/*.example
/config/*.yaml
/config/*.service
/doc/build
/coverage
/typings
...
...
config/blendb.service.example
0 → 100644
View file @
ea31a3cb
[Unit]
Description=BlenDB
After=network.target
[Service]
# Here you must set the ABSOLUTE path to the DIRECTORY where node is (and npm)
# If you are using nvm should be some similar to:
# /home/$user/.nvm/versions/node/$version/bin
Environment=NODE_PATH=/usr/bin/
# Here you must set the port where you would like that this service runs
Environment=BLENDB_PORT=3001
# Here you must set the user that should run the service
# We DO NOT recomend run as root but should work properly as root too
# We recomend create a separeted user named blendb, but any user should work
User=blendb
# Here you must set the path to the BLENDB project DIRECTORY
# We recomend use the ABSOLUTE path
# Runing pwd on the git repository should give the right path
WorkingDirectory=/opt/blendb/
ExecStart=/bin/bash -c "PATH=$PATH:${NODE_PATH}; PORT=${BLENDB_PORT} npm start"
[Install]
WantedBy=multi-user.target
Lucas Fernandes de Oliveira
@lfoliveira
mentioned in commit
1f78b1b3
·
Oct 18, 2017
mentioned in commit
1f78b1b3
mentioned in commit 1f78b1b30c3f4e3cf53a7a0800244e9aea641b1f
Toggle commit list
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