Explorar el Código

add convenient way to run the server

damien hace 11 años
padre
commit
dff3e09676
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      run.sh

+ 12 - 0
run.sh Ver fichero

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