kobotoolbox / kpi

kpi is the (frontend) server for KoboToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data.
https://www.kobotoolbox.org
GNU Affero General Public License v3.0
126 stars 170 forks source link

Add `provision_server` management command #4975

Open RuthShryock opened 3 weeks ago

RuthShryock commented 3 weeks ago

Checklist

  1. [X] If you've added code that should be tested, add tests
  2. [ ] If you've changed APIs, update (or create!) the documentation
  3. [X] Ensure the tests pass
  4. [X] Make sure that your code lints and that you've followed our coding style
  5. [X] Write a title and, if necessary, a description of your work suitable for publishing in our release notes
  6. [ ] Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)
  7. [ ] Open an issue in the docs if there are UI/UX changes

Description

Automates setup of social applications and constance configurations through running ./manage.py provision_server along with specified arguments.

Notes

This command has two subcommands socialapp and config. Example: ./manage.py provision_server config MFA_ENABLED=False SUPERUSER_AUTH_ENFORCEMENT=True will disable MFA and enable authentication for superusers. (The config subcommand can take an infinite number of key-value pairs.)

notion-workspace[bot] commented 6 days ago

Task 3 - helm automation