Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
5001CEM-2122/How To use this website.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
52 lines (41 sloc)
1.34 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################## | |
File path on Github | |
########################## | |
--->path: xavierdo/Assignment-5001CEM | |
--->click on Code | |
--->Download Zip file | |
--->The file name will be like this: Assignment-5001CEM-master | |
--->Extract the file. | |
################## | |
Copy file to Codio | |
################## | |
---> open Codio | |
---> Right click on Master and Upload | |
---> drag and drop the file into upload and close | |
############## | |
activate . venv | |
############## | |
---> On Codio open the terminal | |
---> type: . venv/bin/activate | |
---> cd Assignment-5001CEM-master | |
---> it will show like this: (venv) codio@malta-segment:~/workspace/Assignment-5001CEM-master$ | |
---> it will be different depending on the name you gave in your Codio | |
################### | |
activate local host | |
################### | |
---> export FLASK_APP=main.py | |
---> flask run --host=0.0.0.0 | |
###################### | |
IT will show like this | |
###################### | |
* Serving Flask app 'main.py' (lazy loading) | |
* Environment: production | |
WARNING: This is a development server. Do not use it in a production deployment. | |
Use a production WSGI server instead. | |
* Debug mode: off | |
* Running on all addresses. | |
WARNING: This is a development server. Do not use it in a production deployment. | |
* Running on http://10.222.81.51:5000/ (Press CTRL+C to quit) | |
Then your app is running | |
---> on Codio click Box URL | |
---> the website will open. |