Changes between Version 3 and Version 4 of InstallationGuidelines/PythonAnywhere


Ignore:
Timestamp:
06/26/14 22:35:04 (11 years ago)
Author:
Ambar Mehrotra
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/PythonAnywhere

    v3 v4  
    66 - Select the directory where you want to put the files of your app (By default it is /home/your_username/web2py/)
    77 - Enter the administrative password.
    8  - You will be issued with a domain which can be used to access your web2py app. (In case of a free account, it will be your_username.pythonanywhere.com)
     8 - You will be issued with a domain which can be used to access your web2py server. (In case of a free account, it will be your_username.pythonanywhere.com)
    995. After completing configuration, go to Files tab
    10 6. There you will find a folder as specified by you in settings
     106. There you will find a folder as specified by you in the configuration settings (web2py if you chose default settings)
    11117. Go to Your_Folder/applications
    12 8. Here you can upload your Eden folder.
    13 9. The alternative is to compress your project folder on your own PC, and upload it using the Files tab. Then, open a Bash console to run unzip to decompress the zipfile you've uploaded.
    14 10. You can also pull code from github
     128. Here you can upload your Eden folder.
     139. You can directly pull code from github
    1514 - Go to Consoles tab and open Bash editor
    1615 - Go to applications directory of your web2py project(cd your_app_folder/applications/)
    1716 - $ Clone the repo you want to deploy : git clone https://github.com/username/repo_name
    18 11. You have are now good to go and start the web2py server
     1710. You can also compress your project folder on your own PC, and upload it using the Files tab. Then, open a Bash console to run unzip to decompress the zipfile you've uploaded.
     1811. You now have the web2py application you want to test ready for deployment. You can now go on and start the web2py server.
    191912. Go to /home/your_username/web2py/ using the bash editor
    202013. Run the following command:
     
    222214. This will start the web2py server on your created domain for this app (https://your_username.pythonanywhere.com/ in case of a free account)
    232315. You can now navigate to other tabs(or do other things) and the bash console will keep running as a separate thread. In order to kill the current console you can go to "Console" tab and kill the desired bash console from the list.
    24