Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/openstate/stembureaus
Browse files Browse the repository at this point in the history
  • Loading branch information
Lillian Oostrom authored and Lillian Oostrom committed Jan 5, 2022
2 parents aee29e7 + 7f73052 commit 0290bf1
Show file tree
Hide file tree
Showing 11 changed files with 473 additions and 456 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Development
## CLI
To access the CLI of the app run `sudo docker exec -it stm_app_1 bash` and run `flask`, `flask ckan` and `flask mysql` to see the available commands. Here are some CLI commands:

- `flask flask mysql add-admin-user <email>` add a new admin user with the specified email
- `flask ckan add-new-datastore <ID_of_resource>` add a new datastore in a CKAN resource; this needs to be run once after you've created a new CKAN resource, see the 'Create new CKAN datasets and resources for new elections' section below
- `flask mysql add-gemeenten-verkiezingen-users` add all gemeenten, verkiezingen and users specified in 'app/data/gemeenten.json' to the MySQL database and send new users an invitation email

Expand Down
8 changes: 4 additions & 4 deletions app/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"dependencies": {
"@fontsource/montserrat": "^4.5.1",
"@fontsource/source-code-pro": "^4.5.1",
"@fortawesome/fontawesome-svg-core": "^1.2.30",
"@fortawesome/free-brands-svg-icons": "^5.14.0",
"@fortawesome/free-regular-svg-icons": "^5.14.0",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"bootstrap-filestyle": "1.2.1",
"bootstrap-sass": "3.3.6",
"bootstrap-select": "^1.13.5",
Expand Down
Loading

0 comments on commit 0290bf1

Please sign in to comment.