pip install pipreqs
pipreqs /path/to/project --force
For MacOS and Linus:
# https://docs.python.org/3/library/venv.html
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
For Windows:
# https://docs.python.org/3/library/venv.html
python3 -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
deactivate
source venv/bin/activate
(Optional) The virtual environment should have mysql-connector-python installed, but if not, install the library by:
pip install mysql-connector-python
python3 -m pip install mysql-connector
- Connection configuration is located in the
gcp_sql_config.py
file. More information can be found HERE
Details regarding the enpoints are located in the endpoints
folder HERE
Interactions with the project MinIO bucket are located in the database/minio_setup
folder HERE
Interactions with the MySQL database and generation of the datasets are located in the database/database_setup
folder HERE
Back-end, Front-end, and MinIO servers must all be running
Make sure you're in the root directory
and run:
python run.py
The local host and port will show up in the terminal
* Running on http://127.0.0.1:5000
In ./front_end folder
run:
npm run dev
The app will be available
* Running on http://localhost:3000 by default
Make sure you have MinIO installed
in ./database/minio_setup
run:
minio server start