nealrs / mom

comedy hack day 8 - MomMMS

Home Page:http://gitat.me/2015/05/21/IFTTT_Webhook/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Python / Flask Quick-Start for OpenShift.

I really dig deploying Flask apps to OpenShift. But I always feel like I'm starting from scratch. So I hacked up a little quick-start repo that incorporates derptype, a minimal html doctype + styles.

So, how do you get this running?

Local development:

  1. Clone the repo.
  2. Run python app.py.
  3. Go to localhost:5000.
  4. Hack your heart out!

Deploying to OpenShift:

  1. Sign up for OpenShift & install the redhat command like tools: gem install rhc.
  2. Create new OpenShift app with Python cartridge: rhc app create myapp python-2.7.
  3. Download & unpack this repo into myapp directory
  4. Hack, test locally, and commit ad nauseum
  5. Push the changes to Openshift: git push
  6. Go to http://myapp-$yournamespace.rhcloud.com

© 2014 · Neal Shyam · Pull requests welcome · MIT License blah blah blah

About

comedy hack day 8 - MomMMS

http://gitat.me/2015/05/21/IFTTT_Webhook/


Languages

Language:Python 71.2%Language:HTML 21.1%Language:CSS 5.9%Language:Shell 1.3%Language:JavaScript 0.5%