Skip to content

Instantly share code, notes, and snippets.

View jarvys's full-sized avatar

Jarvis Young jarvys

View GitHub Profile
@crackcell
crackcell / app.conf
Created February 18, 2013 03:10
BAE(Baidu App Engine) static files config for python and flask
handlers:
- url: /static/(.*)
static_files: templates/static/$1
- url : /.*
script: app.py
@jarvys
jarvys / Makefile
Last active September 21, 2015 09:08
my makefile for django project
host:=0.0.0.0
port:=8000
activate_venv=source venv/bin/activate
debug:
./manage.py runserver $(host):$(port)
start-uwsgi:
$(activate_venv) \
&& uwsgi --socket 127.0.0.1:$(port) \