Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blendb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
C3SL
blendb
Commits
ea31a3cb
There was a problem fetching the pipeline summary.
Commit
ea31a3cb
authored
7 years ago
by
Lucas Fernandes de Oliveira
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue/51' into 'master'
Issue
#51
: Add service schema to BlenDB See merge request
!42
parents
4f3cd6f2
14cf10e4
Branches
Branches containing commit
No related tags found
1 merge request
!42
Issue #51: Add service schema to BlenDB
Pipeline
#
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
config/blendb.service.example
+23
-0
23 additions, 0 deletions
config/blendb.service.example
with
24 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
ea31a3cb
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
/bower_components
/bower_components
!/config/*.example
!/config/*.example
/config/*.yaml
/config/*.yaml
/config/*.service
/doc/build
/doc/build
/coverage
/coverage
/typings
/typings
...
...
This diff is collapsed.
Click to expand it.
config/blendb.service.example
0 → 100644
+
23
−
0
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
This diff is collapsed.
Click to expand it.
Lucas Fernandes de Oliveira
@lfoliveira
mentioned in commit
1f78b1b3
·
7 years ago
mentioned in commit
1f78b1b3
mentioned in commit 1f78b1b30c3f4e3cf53a7a0800244e9aea641b1f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment