Parcourir la source

add convenient way to run the server

damien il y a 11 ans
Parent
révision
dff3e09676
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 12 0
      run.sh

+ 12 - 0
run.sh Voir le fichier

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