diff --git a/web/bin/c b/web/bin/c new file mode 100755 index 000000000..cbb33c71c --- /dev/null +++ b/web/bin/c @@ -0,0 +1,5 @@ +#!/bin/bash + + +NO_WEBSOCKET_GATEWAY=1 bundle exec rails c + diff --git a/web/bin/start b/web/bin/start new file mode 100755 index 000000000..142b09e05 --- /dev/null +++ b/web/bin/start @@ -0,0 +1,11 @@ +#!/bin/bash + +#REAL_IP=192.168.0.42 +REAL_IP=127.0.0.1 + +if [ ! -z "$1" ]; then + REAL_IP="$1" +fi + +NO_WEBSOCKET_GATEWAY=1 bundle exec rails s -b $REAL_IP +