Skip to content

Instantly share code, notes, and snippets.

@vaibhav-jain
Forked from mabroor/Procfile
Last active August 29, 2015 14:07
Show Gist options
  • Save vaibhav-jain/dcfd1010bb305c371fe2 to your computer and use it in GitHub Desktop.
Save vaibhav-jain/dcfd1010bb305c371fe2 to your computer and use it in GitHub Desktop.
import barrel.cooper
import os
import static
app = static.Cling(os.path.join(os.path.dirname(__file__), '_build/html'))
app = barrel.cooper.basicauth(users=[('jacob', 'hunter2')])(app)
web: gunicorn -w4 -b0.0.0.0:$PORT app:app
static==0.4
barrel==0.1.3
gunicorn==0.14.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment