| 60 | |
| 61 | If 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 | }}} |
| 65 | OR |
| 66 | {{{ |
| 67 | $web2py -p 8080 -a YOUR_PASSWORD |
| 68 | }}} |
| 69 | it will create a file called 'Parameters_8080.py' in directory /home/YOUR_APP_NAME/wsgi/web2py/ |
| 70 | then 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 | |
| 80 | Your 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 | |