Changes between Version 21 and Version 22 of InstallationGuidelines/OpenShift


Ignore:
Timestamp:
07/29/14 10:42:45 (7 years ago)
Author:
andre
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/OpenShift

    v21 v22  
    9696
    9797When it is installed, you will see your Application name on the left side. Phew.
     98---------------------------
     99If using 'web2py.app.eden.w2p' is only producing frustrating error message, use the 'Or Get from URL' option, and copy this
     100{{{
     101https://github.com/flavour/eden.git
     102}}}
     103
     104and then press Install.
     105---------------------------
     106
     107The next step is to install postgresql.
     108From Ubuntu, use the terminal, and type:
     109{{{
     110rhc cartridge add postgresql-8.4 -a myapp
     111}}}
     112
    98113
    99114Once Eden is installed you will need OpenShift to install a lot of the required packages and libraries for it to work.For that edit the setup.py file in the following way-
     
    114129}}}
    115130
     131Now, Access your openshift web2py admin page through https://YOUR_APP_NAME-$yournamespace.rhcloud.com
     132Enter your password, find a folder named 'models' and find a file named '000_config.py. Edit and save the file.
     133
     134
    116135If you are lucky, you can access Sahan Eden from Openshifht now. If not, pray for help might help you.
    117 You can find your openshift Sahana eden web address from Web2py administrative page, folder 'your application name' (the one that you uploaded), move your mouse cursor above it, and you can see the web address.
     136
     137-----------------------------
     138Probably you will receive an error message saying something about "No such file or directory: 'applications/sahana/models/0000_update_check.py'".
     139Before you start praying, try to access your application at openshift server, using
     140{{{
     141rhc ssh
     142}}}
     143
     144then go to your sahana eden directory, and find a directory named 'models'. Inside 'models' directory, type
     145{{{
     146nano 0000_update_check.py
     147}}}
     148
     149then write:
     150{{{
     151CANARY_UPDATE_CHECK_ID = 4
     152}}}
     153
     154followed by CTRL-O, ENTER, and CTRL-X
     155So, you have created the file yourself.
     156----------------------------
     157
     158You can find your openshift Sahana eden web address from Web2py administrative page, folder 'your application name' (the one that you uploaded), move your mouse cursor above it, and you can see the web address. If it still doesn't work, you can start praying now.
    118159
    119160=== Updates ===