From a84d9eabf1b921086a688f81df28b0f21ba4df19 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Tue, 3 Sep 2019 13:06:00 +0200 Subject: docker installation as gem, links with port numbers, version 1.4.0 --- docker/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/start.sh') diff --git a/docker/start.sh b/docker/start.sh index ad40a0e..07fefde 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -5,8 +5,8 @@ mongod --bind_ip 127.0.0.1 --dbpath ~/data & R CMD Rserve --vanilla & # import data -ruby -e "require 'lazar'; include OpenTox; Import.public_data" +ruby -e "require 'lazar'; include OpenTox; Import.public_data if Model::Validation.all.empty?" # start lazar service -cd $HOME/lazar-gui +cd $(gem which lazar-gui|sed 's#/lib/lazar-gui.rb/##') unicorn -p 8088 -E production -- cgit v1.2.3