Skip to content

clarkem10/Bookshop

main
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

Bookshop

Software Engineering Project Second Year

Description

A website for a bookshop with python backend and html/CSS frontend. There are 3 users, Cutomer1, Customer2 and admin. The customers are able to see the current books in the shop, add them to their basket, and take them to checkout. Admins are able to see and add to the current book stock.

Installation

If using Codio, in the terminal type sudo apt update. Next cd into your directory and type sudo apt-get install python3-venv, followed by python3 -m venv venv. To activate the virtual environment, type . venv/bin/activate. Once the virtual environment is opened, type pip install Flask, pip install Flask-SQLAlchemy and pip install flask-cors. To run the code, type export FLASK_APP=Bookshop, followed by flask run --host=0.0.0.0. There should be a message ending with Press (CTRL+C) to quit. At the top of codio, click Project and Box Info. Copy the Box Info eg https://immune-ironic-80.codio-box.uk, and replace the 80 with 5000. The website should load.

About

Software Engineering Project Second Year

Resources

Stars

Watchers

Forks

Releases

No releases published