Skip to content

Instantly share code, notes, and snippets.

@brianjking
Forked from mabroor/Procfile
Created August 16, 2016 02:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianjking/fcc98c90acb17edb2366443b5f8fbdd1 to your computer and use it in GitHub Desktop.
Save brianjking/fcc98c90acb17edb2366443b5f8fbdd1 to your computer and use it in GitHub Desktop.
Hosting Private password protected Sphinx Docs
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