this is a certified bruh moment
- Clone project and login
git clone https://github.com/nakamarusun/OrgaDB.git
cd OrgaDB
- Create a virtual environment for Python 3 (Google if don't know :( )
python -m venv venv
- Activate the virtual environment, and install libs
venv/Scripts/activate
pip install -r requirements.txt
- Make environment variable for flask app Windows:
set FLASK_APP=EMS
set FLASK_ENV=development
Linux / Mac:
export FLASK_APP=EMS
export FLASK_ENV=development
- Copy and rename EMS/db_config.py_template to db_config.py and configure it by yourself
- Initialize the tables using the command
flask init-db
- Run the flask project, and access using http://127.0.0.1:5000/
flask run