raianmr / mad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running locally

Optionally create a virtual environment and activate it:

python3 -m venv .venv
.venv/Scripts/activate

Install dependencies:

python -m pip install -U pip  
pip install -U -r requirements.txt

20-MAD

cd MAD20

Create a database and .env file with the following:

DB_TYPE=postgresql+psycopg
DB_PORT=...
DB_USER=...
DB_PASS=...
DB_NAME=...
DB_HOST=localhost

To create the tables run:

alembic upgrade head

Inside .env add the following:

MAD20_LOCATION=data/osfstorage-archive/data/ [change if needed]

Load the data into the database:

python scripts/load_data.py

About

License:MIT License


Languages

Language:Jupyter Notebook 81.9%Language:Python 16.2%Language:Mako 1.9%