Code Monkey home page Code Monkey logo

pyratest's Introduction

Pyramid on Red Hat's OpenShift Express

This quickstart helps you get up and running with a Pyramid installation on OpenShift. 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 fastest method

You can easily deploy a pre-configured Pyramid + MySQL application to the OpenShift cloud with a single command, using the openshift-quickstarter tool: http://github.com/lmacken/openshift-quickstarter

./openshift-quickstarter EMAIL DOMAIN APPNAME pyramid

That's all it takes. You can now view your application at:

http://APPNAME-DOMAIN.rhcloud.com

http://lewk.org/img/pyramid-quickstart.png

Notice the 'test name' on the default homepage, which is pulled in from our database.

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 app create -a pyramidapp -t python-2.7 -l [email protected]
rhc cartridge add -a pyramidapp -c mysql-5.1 -l [email protected]
cd pyramidapp
git remote add upstream -m master git://github.com/lmacken/pyramid-openshift-quickstart.git
git pull -s recursive -X theirs upstream master
git push

Monitoring your logs

rhc-tail-files -a pyramidapp -l [email protected]

pyratest's People

Contributors

jorgelf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.