Fix issue mentioned in osem/pull/1407

After the rebase (to update the PR with the latest changes), I had the
same issue @lguerard has had. I noticed that the rails server didn't
lisen on all interfaces any more, but bound the port to the loopback
device only. By adding the parameter `-b 0.0.0.0`, I restored the
previous behavior, and OSEM could be reached with the browser after it
started up (takes a few seconds).
This commit is contained in:
TheAssassin 2017-05-16 22:16:46 +02:00 committed by Hernán Schmidt
parent c592a19f2d
commit dd993b7448

View file

@ -45,4 +45,4 @@ echo ">>> Precompiling assets..."
bundle exec rake assets:precompile
echo ">>> Starting application server..."
exec bundle exec rails server -e production -p 9292
exec bundle exec rails server -e production -b 0.0.0.0 -p 9292