To get the database setup, MySQL Workbench needs to be downloaded and installed (link here).
- Create a schema named streamviz
- Run
clean.pyto create the stream table
To get the server running on a local machine, some dependencies need to be installed
1. Create a pip virtual environment (only needs to be done once per machine)
-
python -m venv venvto make a virtual environment named venv (optimal name) -
source venv/Scripts/activateif on Windows orsource venv/bin/activateif on Linux -
pip install -r requirements.txt
2. Run the app
python app.py- Server will run on
localhost:5000