-
Mart van Santen authored
Merge branch '76-use-kratos-as-identity-manager' of open.greenhost.net:openappstack/single-sign-on into 76-use-kratos-as-identity-manager
700195df
README.md 1019 B
Development enviroment
- Have a cluster running with the latest single-sign-on helmchart
- Be sure the URLs in the cluster are development URLs
- Execute tunnel, as found in
docs/set-ssh-tunnel.sh
, this makes sure to map the relevant ports to local/development environment - source the
source_env
file (. source_env
) - Run flask by executing
./run.sh
Database migration
If your database is not up to datedw initalize it:
flask db init
flask db upgrade
If you make changes on the model and want to generate the migrations for that, run the following
flask db migrate -m "Comment about migrate"
flask db upgrade
CLI Commands
You can manipulate the apps and users database with CLI commands:
# Help:
flask user
flask app
# Examples:
flask user create email@example.com
flask user setadmin email@example.com
flask app create "nextcloud" "Nextcloud Collaboration Software"
flask app create "zulip" "NextGen Chat Application"
flask app create "matrix" "Living the dream"