diff options
Diffstat (limited to 'docker/start.sh')
-rwxr-xr-x | docker/start.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/start.sh b/docker/start.sh new file mode 100755 index 0000000..ad40a0e --- /dev/null +++ b/docker/start.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# start basic services +mongod --bind_ip 127.0.0.1 --dbpath ~/data & +R CMD Rserve --vanilla & + +# import data +ruby -e "require 'lazar'; include OpenTox; Import.public_data" + +# start lazar service +cd $HOME/lazar-gui +unicorn -p 8088 -E production |