Skip to content

django-superapp/django-superapp-deploy

Repository files navigation

Cloning the repository

cd my_superapp;
django_superapp bootstrap-project \
    --template-repo https://github.com/django-superapp/django-superapp-deploy ./deploy;

Quick setup

  1. Run make setup-git-crypt
  2. If you have a git-crypt key palce it in ./secrets/git_crypt.key and then run make unlock-git-crypt
  3. If you don't have a git-crypt key, you can generate one using make generate-git-crypt to save it in a 1Password note
  4. make install-ci-requirements
  5. create your environment in ./environments/production from ./environments/sample_environment
  6. setup your deploy/environments/production/secrets/kube_config.yaml file
  7. make setup-sealed-secrets
  8. Make sure to setup your secrets in deploy/environments/production/secrets/config_env.yaml
  • for registry credentials, please create another Github user and invite it into bringes organization and grant access to the repository
  1. make connect-remote-docker (optional, if you configure remote docker)
  2. make build-all-docker-images
  3. make generate-manifests
  4. (optionally, you can deploy using skaffold) make deploy-using-skaffold

Useful Guides