Changes between Version 4 and Version 5 of InstallationGuidelines/PythonAnywhere


Ignore:
Timestamp:
09/28/15 09:04:59 (6 years ago)
Author:
rommelsotto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/PythonAnywhere

    v4 v5  
    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
     25'''Creating MySQL Database'''
     261. In your pythonanywhere account go to Databases Tab
     272. Go to MySQL Tab
     283. Set the password for you MySQL connection then proceed
     293. In the Create Database portion enter the database name that you want, then click create.
     304 The details of you database will be shown once you have successfully created it.
     31   Database host address : ''username.mysql.pythonanywhere-services.com''[[BR]]
     32   Database name : username$databasename
     33
     34'''Connecting your Database to Eden'''
     351. Proceed to the File Tab and navigate to your ''000_config.py'' file. if you didn't change the name in the setup it will be in /home/username/web2py/applications/eden/models
     362. Uncomment and edit the following lines[[BR]]settings.database.db_type = "mysql"[[BR]]settings.database.host = "''username.mysql.pythonanywhere-services.com''"[[BR]]settings.database.database = "''username$databasename''"[[BR]]settings.database.username = "''your pythonanywhere username''"[[BR]]settings.database.password = "''MySQL password you created''"
     373. Save it.
     384. Go back to your dashboard and proceed to Web Tab
     395. Click Reload and then proceed to accessing your Eden Site