Changes between Version 19 and Version 20 of InstallationGuidelines/OpenShift


Ignore:
Timestamp:
07/17/14 03:34:35 (11 years ago)
Author:
andre
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/OpenShift

    v19 v20  
    5353That's it, you can now checkout your application at:
    5454{{{
    55     http://YOUR_APP_NAME-$yournamespace.rhcloud.com
     55    https://YOUR_APP_NAME-$yournamespace.rhcloud.com
    5656    # you'll be prompted for your namespace while creating your account, you needn't worry about it.
    5757}}}
    5858
    5959Once your app is up you'll need administrative access to continue.For the admin app to work you need to put your password hash in parameters_8080.py in wsgi/web2py/.
     60
     61If you are using Ubuntu, you can find in your laptop, in "/home/YOUR_APP_NAME/wsgi/web2py/" a file called Parameters_*.py. there is a possibility that you can find more than one, with different numbers at the end. remove all of this file. then:
     62{{{
     63$web2py.py -p 8080 -a YOUR_PASSWORD
     64}}} 
     65OR
     66{{{
     67$web2py -p 8080 -a YOUR_PASSWORD
     68}}}
     69it will create a file called 'Parameters_8080.py' in directory /home/YOUR_APP_NAME/wsgi/web2py/
     70then do these:
     71{{{
     72$ln -s parameters_8080.py parameters_443.py
     73$ln -s parameters_8080.py parameters_80.py
     74$ln -s parameters_8080.py parameters_8000.py
     75$git add .
     76$git commit
     77$git push
     78}}}
     79
     80Your parameters_*.py files will be sent to openshift. And then you can open https://YOUR_APP_NAME-$yournamespace.rhcloud.com via your web browser, and use your password you just created. if it is not working, try to enable your browser to accept cookies.
     81
     82
    6083
    6184=== Package and deploy Eden ===