summaryrefslogtreecommitdiff
path: root/bin/nano-lazar-start.sh
diff options
context:
space:
mode:
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