Skip to content

Iconicto/chari-lake

Repository files navigation

Chari Lake

CI/CD Pipeline GitHub

Official Website of the Chari Lake Hotel

Prerequisites

  • Python3.6+
  • PIP

Development Setup

  • Install PIP packages
    pip install -r requirements.txt
  • Make the database
    python3 manage.py migrate
  • Start dev server
    python3 manage.py runserver

Git Secrets

Encrypt

gcloud kms encrypt \
    --key "chari-lake" \
    --keyring git-secrets \
    --location global  \
    --plaintext-file ".env" \
    --ciphertext-file ".env.enc" \
    --project "iconicto"

Decrypt

gcloud kms decrypt \
    --key "chari-lake" \
    --keyring git-secrets \
    --location global  \
    --plaintext-file ".env" \
    --ciphertext-file ".env.enc" \
    --project "iconicto"