summaryrefslogtreecommitdiff
path: root/bin/nano-lazar-start.sh
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-10-31 16:09:18 +0000
committergebele <gebele@in-silico.ch>2016-10-31 16:09:18 +0000
commit678a9e60be4a9a6b0c59969a0f6e0266885337fa (patch)
tree7e16ae9ce6e5946d250d9be9031ec6f4b520e9a4 /bin/nano-lazar-start.sh
parentd05b5b91249a846b68c755d3716abc7343670a2a (diff)
updated README; added service commands for the gem
Diffstat (limited to 'bin/nano-lazar-start.sh')
-rw-r--r--bin/nano-lazar-start.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/nano-lazar-start.sh b/bin/nano-lazar-start.sh
new file mode 100644
index 0000000..f772c66
--- /dev/null
+++ b/bin/nano-lazar-start.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+sudo mongod &
+R CMD Rserve
+GEMPATH=$(gem path nano-lazar)
+cd $GEMPATH
+unicorn -c unicorn.rb -E production -D
+
+exit 0