We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4ef68 commit 06f82ceCopy full SHA for 06f82ce
bin/server
@@ -0,0 +1,10 @@
1
+#!/bin/bash
2
+
3
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4
+parentdir="$(dirname "$DIR")"
5
+pid="$parentdir/tmp/pids/server.pid"
6
+if [ -f $pid ]; then
7
+ rm $pid
8
+fi
9
+fuser -k -n tcp 3000
10
+rails server -b 0.0.0.0
0 commit comments