- Install PostgreSQL
- Clone Repo
- Create Virtual Environment w/ venv venv
- Activate virtual environment
- install requirements.txt
- Run \database\database_setup.py
- Run database_daily_process.py (Downloads files and loads them to database)
- markdown_refresh_main.py
- mkdocs serve (to run site locally)
- python -m pip install --upgrade pip
- python -m pip install virtualenv
- Ensure you are in your project directory
- virtualenv venv
- venv\Scripts\Activate
- python -m venv\Scripts\Activate ???
- pip install -r requirements.txt
-
Make sure you have Postgres Installed somewhere.
- This thing uses stored procedures, so make sure your version of Postgres supports those.
-
Configure db_config.ini
[localhost_section] host = localhost <--- DNS or IP Address also would work. database = nadc_sqlmodel <--- NAME of the database it will create user = osint <--- user that has rights to create the db password = osint <--- pw for the user