Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated buildenv system

  • Loading branch information...
commit b345d1b68cd754912b934402cfb4ece4d3a4da37 1 parent a990a2a
@Lispython Lispython authored
View
3  Makefile
@@ -31,6 +31,9 @@ clean-pyc:
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
+clean: clean-pyc
+ find . -name '*.egg' -exec rm -rf {} +
+
find-print:
grep -r --include=*.py --exclude-dir=venv --exclude=fabfile* --exclude=tests.py --exclude-dir=tests --exclude-dir=commands 'print' ./
1  buildenv
@@ -0,0 +1 @@
+Subproject commit 6375e59cd32ac03c991ff833b78a4ac4b34e5ecb
View
22 buildenv.sh
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-#sudo apt-get install binutils gdal-bin postgresql-8.4-postgis libgeoip1 gdal-bin libgdal-dev swig
-
-py(){
- virtualenv --python=python2.7 --clear venv
- . venv/bin/activate
- ./venv/bin/easy_install pip
-}
-
-js(){
- nodeenv -v --requirement=./js-req.txt -n 0.6.5 jsvenv
-}
-
-
-case $1 in
- "py") py;;
-
- "js") js;;
-
- *) py;;
-esac
View
5 env.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. ./buildenv/buildenv.sh
+
+
View
4 gottwall/runner.py
@@ -121,7 +121,7 @@ def run(self, port, reload, host, logging, **kwargs):
self.display("Autoreload enabled")
autoreload.start(io_loop=ioloop, check_time=100)
- self.display("Aggregator running on 127.0.0.1:{0}".format(port))
+ self.display("Aggregator running on {0}:{1}".format(host, port))
# Init signals handler
signal.signal(signal.SIGTERM, self.sig_handler)
@@ -191,7 +191,7 @@ def run(self, port, reload, host, logging, **kwargs):
self.display("Autoreload enabled")
autoreload.start(io_loop=ioloop, check_time=100)
- self.display("Server running on 127.0.0.1:{0}".format(port))
+ self.display("Server running on http://{0}:{1}".format(host, port))
# Init signals handler
signal.signal(signal.SIGTERM, self.sig_handler)
Please sign in to comment.
Something went wrong with that request. Please try again.