Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 603 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 603 Bytes

ct-kea-2021-gr40

To connect to the database, use the credentials bellow:

Server: sql4.freemysqlhosting.net

Name: sql4396600

Usr: sql4396600

Passw: FflNQBLCS7

Port number: 3306

To run a local server with an example:

  1. download the contents of the server folder
  2. set up a virtual environment python -m venv venv
  3. activate the virtual env. venv\Scripts\activate
  4. install flask in it pip install Flask
  5. install flask-mysqldb pip install flask-mysqldb
  6. set up the starting file for flask $env:FLASK_APP = "main.py"
  7. run it! flask run
  8. Go to http://localhost:5000/