Browse Source

add convenient way to run the server

damien 11 years ago
parent
commit
dff3e09676
1 changed files with 12 additions and 0 deletions
  1. 12 0
      run.sh

+ 12 - 0
run.sh View File

@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+
3
+OLD_PATH=`pwd`
4
+
5
+ROOT_FOLDER=/home/daccorsi/sources/protos/pboard
6
+
7
+cd ${ROOT_FOLDER}
8
+source tg2env/bin/activate
9
+cd ${ROOT_FOLDER}/pboard/
10
+gearbox serve -c development.ini --reload
11
+cd ${OLD_PATH}
12
+