This commit is contained in:
Seth Call 2020-09-14 19:51:54 -05:00
parent 2ba44ff145
commit 41f8480190
2 changed files with 16 additions and 0 deletions

5
web/bin/c Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
NO_WEBSOCKET_GATEWAY=1 bundle exec rails c

11
web/bin/start Executable file
View File

@ -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