changeset 26:2c7c857b1263

make
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sun, 15 Jun 2014 20:20:26 +0200
parents b1289915de9f
children 8f35ca18c2ac
files Makefile slides.py
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Sun Jun 15 20:20:26 2014 +0200
@@ -0,0 +1,8 @@
+run:
+	xdg-open http://127.0.0.1:8080/Home
+	bin/python slides.py
+
+virtualenv:
+	virtualenv --clear --system-site-packages .
+	bin/pip install -r requirements.txt
+
--- a/slides.py	Sun Jun 15 12:43:25 2014 +0200
+++ b/slides.py	Sun Jun 15 20:20:26 2014 +0200
@@ -6,7 +6,6 @@
 """
 
 import os.path
-import webbrowser
 
 import werkzeug
 
@@ -61,5 +60,4 @@
     )
     wiki = hatta.wiki.Wiki(config)
     wiki.mime_map['text/x-wiki'] = WikiPageWiki
-    webbrowser.open_new('http://127.0.0.1:8080/')
     hatta.main(wiki=wiki)