A project for CS 316 - fall 2021. Team HealthCarolina is building an interactive website to visualize health statistics for each of North Carolina's counties.
Deploy in Vagrant:
- download requirements.txt
- bash install.sh
- pull create.sql, load.sql and .env
- bash setup.sh
- set password manually to match .env
- python app.py
Deploy in Conda:
- pull latest version
- install all requirements in requiremnts.txt in conda
- open conda terminal
- cd to nchealthmap
- initdb -D /data
- pg_ctl -D /data -l logfile start
- pg_ctl status -D /data
- createuser vagrant
- createdb healthmap
- psql -af ../create.sql healthmap
- psql -af ../load.sql healthmap
- psql -af ../permissions.sql healthmap
Start psql server via conda:
- cd to nchealthmap dir
- pg_ctl -D /data -l logfile start