Skip to main content

DeepVibe System Installation and Setup

This section contains the latest DeepVibe installation, setup, and configuration documentation.

Raspberry Pi​

This document will assume that you are starting with a fresh Raspberry Pi image. If you need to create the image first, you can refer to Setting up Raspberry Pi.

Install Dependencies​

  1. Install Git: sudo apt install git
  2. Install Docker Engine (NOTE: That these are instructions for Debian. There aren't any dedicated Raspberry Pi OS 64-bit installation instructions, but the Debian instructions should work since Raspberry Pi OS (Raspbian) is an offshoot of Debian.)

Setup Environments​

Azure Container Registry (ACR) Login​

Find your ACR password from the list below and login with the following command:

docker login -u arm64-pull -p PASSWORD gqccontainers.azurecr.io

ACR Credentials List​

  • arm64-pull - 0uY/FcGpkvB5d+IsP7gF0NxhJ9giRKWz+C7Zt/55FH+ACRBKvATO

Configure Git​

  1. Configure Git Credentials/SSH

  2. Create the directory structure:

    1. mkdir -p ~/git/gqc

    2. cd ~/git/gqc

    3. git clone git@github.com:gqc/deepvibe-super-repo

      (NOTE: In most cases, we would want to clone submodules with the parent repo, but for DeepVibe, we only need the yml and .env files at the super-repo's root directory)

    4. cd deepvibe-super-repo

Configure Environment Variables​

Ensure you've completed the previous section Configure Git before continuing.

  1. cd ~/git/gqc/deepvibe-super-repo

  2. nano .env.prod

    Inside .env.prod modify the following lines:

    1. DJANGO_ALLOWED_HOSTS= append your local machine's IP address, which you can find with the command ip a
    2. Configure the # EMAIL Alerts section:
      1. EMAIL_HOST_USER= is the email account that SENDS email alerts.
      2. EMAIL_HOST_PASSWORD= is the APP PASSWORD that is used to authenticate the EMAIL_HOST_USER account.
      3. EMAIL_LIST= is a space separated list of alert recipients. These include SMS recipients via email gateway.