Manage planning considerations through standards process
python 3.10
node 18
postgresql
For loading data into db:
heroku-cli
createdb dluhc-planning-considerations
make init
flask db upgrade
flask consider load-data
Questions are here
flask consider load-questions
To add/edit a question make changes here then run
flask consider check-questions
Fix any errors then run the load command above
flask run
Set the following in DevelopmentConfig
AUTHENTICATION_ON = True
The below is needed for local development and must not be committed to github. Therefore
add to a file called .env
which is gitignored.
GITHUB_CLIENT_ID=[client id]
GITHUB_CLIENT_SECRET=[secret]