Skip to content

OliverGreen27/TDDD97-Webprog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDDD97

This repo contains the laborations in the course TDDD97 done by Gustav and Oliver.

How to run the code

  1. Clone the repository and open the TDDD97 directory in your bash terminal.

  2. Create and run a python virtual environment using venv

python3 -m venv venv
source venv/bin/activate
  1. Install the required python packages using pip install
pip install -r requirements.txt
  1. Create the database using sqlite3 and the file schema.sql.
sqlite3 database.db < schema.sql
  1. Run the server with gunicorn
gunicorn -b 0.0.0.0:5000 --workers 1 --threads 100 server:app
  1. Use a web browser of your choice and go to localhost port 5000
localhost:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published