Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 12th, 2012  |  syntax: None  |  size: 0.28 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. export CURRENT=i_drink_ink
  2. mkvirtualenv ${CURRENT}
  3. workon ${CURRENT}
  4. cdvirtualenv
  5. pip install Flask uwsgi
  6.  
  7.  
  8. touch app.py   # the Flask app
  9. touch uwsgi.sh # the uwsgi script that will expose the app
  10. touch idrinkink.org.nginx.conf # the NGinX config to server the app to the greater world