Skip to content

Latest commit

 

History

History
60 lines (32 loc) · 1.18 KB

README.md

File metadata and controls

60 lines (32 loc) · 1.18 KB

build

dluhc-planning-considerations

Manage planning considerations through standards process

Requirements

python 3.10
node 18
postgresql

For loading data into db:

heroku-cli

heroku-cli

Get started

createdb dluhc-planning-considerations
make init

Apply db migrations

flask db upgrade

Load/update consideration data

flask consider load-data

Load/update questions

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

Run app locally

flask run

To test authentication in local development

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]