diff options
author | Christoph Helma <helma@in-silico.ch> | 2019-09-03 13:06:00 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2019-09-03 13:06:00 +0200 |
commit | a84d9eabf1b921086a688f81df28b0f21ba4df19 (patch) | |
tree | 8ca3d6c2a0bc8d22821212af2eada21cce2ea1e0 /docker/start.sh | |
parent | c9f8cd864a2b72e7330b8095691fa5c16fea83aa (diff) |
docker installation as gem, links with port numbers, version 1.4.0prerelease
Diffstat (limited to 'docker/start.sh')
-rwxr-xr-x | docker/start.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |