Skip to content
Snippets Groups Projects
Commit dda2c565 authored by Lucas Fernandes de Oliveira's avatar Lucas Fernandes de Oliveira
Browse files

Revert "Merge branch 'issue/51' into 'master'"

This reverts merge request !42
parent ea31a3cb
No related branches found
No related tags found
1 merge request!43Revert "Merge branch 'issue/51' into 'master'"
Pipeline #
This commit is part of merge request !43. Comments created here will be created in the context of that merge request.
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
/bower_components /bower_components
!/config/*.example !/config/*.example
/config/*.yaml /config/*.yaml
/config/*.service
/doc/build /doc/build
/coverage /coverage
/typings /typings
......
[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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment