Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 638 Bytes

DEPLOYMENT.md

File metadata and controls

21 lines (15 loc) · 638 Bytes

Deployment Guide

  1. Login to the data team's server:

    1. Run: gcloud compute ssh --zone "asia-east1-b" "data-team" --project "pycontw-225217"
    2. Services:
      • ETL: /srv/pycon-etl
      • Metabase is located here: /mnt/disks/data-team-additional-disk/pycontw-infra-scripts/data_team/metabase_server
  2. Pull the latest codebase to this server: git pull

  3. Add credentials to the .env.production file (only needs to be done once).

  4. Start the services:

# Start production services
docker-compose -f ./docker-compose.yml up

# Stop production services
# docker-compose -f ./docker-compose.yml down