Parcourir la source

added documentation on how to run

Jocelyn Delande il y a 10 ans
Parent
commit
1fdc6ba719
1 fichiers modifiés avec 27 ajouts et 0 suppressions
  1. 27 0
      README.md

+ 27 - 0
README.md

@@ -0,0 +1,27 @@
+Dependencies
+============
+We use bottle micro-framework.
+
+
+     # apt-get install python-bottle
+
+(current code works with debian-stable version of bottle)
+
+or
+
+    $ pip install bottle
+
+Running
+=======
+
+    $ ./backend.py
+
+
+Then hit *http://localhost:8080*
+
+To run in debug mode (auto-reload)
+
+    $ DEBUG=1 ./backend.py
+
+Bottle will reload on source change, but not on template change if you're using
+an old version of bottle.