#Bottle and Python 3.3 on openshift
Minimal requirements for running quickly a Bottle application withs Python 3 on Openshift.
- Setup an account on Openshift.
- Install RHC client tools following this guide.
- You will probably need to setup your SSH key.
Create a python 3.3 app
rhc app create yourAppName python-3.3
In local application folder app.py.disabled can be remove.
In local application folder, add app.py from this repo. This is an official Openshift file
Add Bottle and others needed packages in setup.py by modifying the "install_requires" attribute.
If your package isn't available on PyPI you could try a custom install.
Create a "views" folder for tpl in /wsgi. We'll configure Bottle to search tpl in this folder (see wsgi/application).
A minimal app is visible in wsgi/application
Check your app at:
http://yourAppName-YourNameSpace.rhcloud.com/