Skip to content

alexpgates/mkdocs_nadc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Setup

  1. Install PostgreSQL
  2. Clone Repo
  3. Create Virtual Environment w/ venv venv
  4. Activate virtual environment
  5. install requirements.txt
  6. Run \database\database_setup.py
  7. Run database_daily_process.py (Downloads files and loads them to database)
  8. markdown_refresh_main.py
  9. mkdocs serve (to run site locally)

Install VirtualEnv

  1. python -m pip install --upgrade pip
  2. python -m pip install virtualenv

Create VirtualEnv

  1. Ensure you are in your project directory
  2. virtualenv venv

Activate VirtualEnv

  1. venv\Scripts\Activate
  2. python -m venv\Scripts\Activate ???

Install requirements.txt

  1. pip install -r requirements.txt

Configure database stuff...

  1. Make sure you have Postgres Installed somewhere.

    • This thing uses stored procedures, so make sure your version of Postgres supports those.
  2. 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
    
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published