To deploy the website, first clone this repo, then
- (optional) Activate virtual environment: for Window
python -m venv venv
venv/Scripts/activate.bat
or for Linux, create a new conda
virtual environment.
- To install all the packages, run
pip install -r requirements.txt
Disclaimer: If you encounter errors when installing these packages, please remove the determined version (e.g ==x.xx.x
) of the package corresponding to the errors.
- To run the website, run
python app.py
- Open browser and visit http://127.0.0.1:4651 (local server) or http://<public-dns>:<port> (according to input of
port
inapp.py
)
Remarks:
- See
Group_Report.pdf
for the details of the project - See
Data_Analysis.pdf
for the data analyses (using Spark) - See
Run_demo.ipynb
for the demo output if using a Virtual Machine (e.g. AWS) - See
Run_demo_colab.ipynb
for how to run it without a VM using Google Colab with Ngrok (recommended)