Skip to content

zzz-5001CEM-2122/bk-shop

master
Switch branches/tags

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?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bk-shop

CODE INSTALLATION

Open terminal and do sudo apt update

Next, go to https://github.coventry.ac.uk/5001CEM-2122/bk-shop.git and click on the code button. On the dropdown, copy SSH key

Go back to terminal, type git clone and paste SSH key, this downloads the project

Change directory to project folder: cd bk-shop

Do sudo apt-get install python3-venv

Then do python3 -m venv venv

After, activate the virtual environment by: . venv/bin/activate

Now that all that is done, install the following packages with the following commands: pip install Flask

pip install Flask-SQLAlchemy

pip install Flask-Bootstrap

pip install Flask-Cors

pip install Flask-Reuploaded

pip install Flask-WTF==0.15.1

pip install Path

pip install wheel

pip install WTForms==2.3.3

After you have installed all that, the code is now ready to run.

Export app: export FLASK_APP=app

Run host: flask run --host=0.0.0.0

Open your box URL on port 5000 e.g., https://spend-folio-5000.codio-box.uk (this URL is an example and will not work for you) When your webpage opens you should see the login screen since you are not logged in.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published