Changes between Version 7 and Version 8 of InstallationGuidelines/OpenShift


Ignore:
Timestamp:
10/17/13 00:53:59 (8 years ago)
Author:
Govind Menon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/OpenShift

    v7 v8  
    77== Deployment Steps ==
    88
    9 === Install rhc===
     9=== Install RHC===
    1010
    1111The first step is to create an account on OpenShift - it's free and easy.
    1212
    13 RHC is the OpenShift client tool. The simplest way to install it is to do
     13The next step is to intstall RHC.RHC is the OpenShift client tool. The simplest way to install it is to do
    1414
    1515{{{
     
    1717}}}
    1818=== Deploy the template Web2py app ===
     19.
     20Now we create a blank web2py app and get it running on OpenShift. For this we use the following [https://github.com/prelegalwonder/openshift_web2py repo].
     21
     22You can follow the instructions given in the readme except change the Python version to 2.7 instead of 2.6
     23
     24The basic steps are-
     25
     26Create a python-2.6 application
     27
     28{{{
     29
     30    rhc app create -a YOUR_APP_NAME -t python-2.6
     31}}}
     32
     33Add this upstream repo
     34
     35{{{
     36    cd web2py
     37    git remote add upstream -m master git://github.com/prelegalwonder/openshift_web2py.git
     38    git pull -s recursive -X theirs upstream master
     39Note: If you want a specific release and not the latest snapshot, replace "master" with the branch name in the above lines (ie. 2.3.2).
     40}}}
     41   
     42Then push the repo upstream
     43{{{
     44    git push
     45}}}
     46
     47That's it, you can now checkout your application at:
     48
     49    http://YOUR_APP_NAME-$yournamespace.rhcloud.com # you'll be prompted for your namespace while creating your account, you needn't worry about it.
     50
     51}}}
    1952
    2053=== Package and deploy Eden ===
    2154
    2255=== Updates ===
    23