Skip to content

MarekSalat/turbogears2-openshift-quickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurboGears2 with python 3.3 on Red Hat's OpenShift Express ==========================================

This quickstart helps you get up and running with a fully-functional TurboGears2 instance on OpenShift with python 3.3. It automatically handles creating a Python virtualenv, populating a MySQL database, and deploying your application to the cloud.

Features

  • Completely free, thanks to Red Hat's OpenShift Express
  • MySQL database automatically setup for your application
  • Dynamic database configuration at runtime. No passwords stored in your configs.
  • Your application's test suite is run after each push
  • Automatic deployment upon git push
  • No need to think about servers, let alone apache/mod_wsgi configuration

The manual method

If you don't want to use the openshift-quickstarter, you can easily create a new OpenShift WSGI application and merge this quickstart into it manually:

rhc create-app -a yourAppName
rhc add-cartridge -a yourAppName -e add-mysql-5.5
cd yourAppName
git remote add upstream -m master https://github.com/MarekSalat/turbogears2-openshift-quickstart
git pull -s recursive -X theirs upstream master
git push

Monitoring your logs

rhc tail -a yourAppName

Trubleshot

::

git update-index --chmod=+x .openshift/action_hooks/* git push

You may have problem with this command. Solution is simple. Go to the folder and make chmod on each file separetly.

About

TurboGears2 quickstart for Red Hat's OpenShift Express Cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.5%
  • Shell 3.7%
  • CSS 1.8%