Merge branch 'master' into scheduled-tasks

This commit is contained in:
Georges-Antoine Assi
2023-10-27 15:27:22 -04:00
47 changed files with 2242 additions and 756 deletions

View File

@@ -1,4 +1,15 @@
#!/bin/bash
#!/usr/bin/env bash
set -o errexit # treat errors as fatal
set -o nounset # treat unset variables as an error
set -o pipefail # treat errors in pipes as fatal
shopt -s inherit_errexit # inherit errexit
# use virtualenvs
source /backend/bin/activate
# switch to backend directory
cd /backend || { echo "/backend directory doesn't seem to exist"; exit 1; }
# Run migrations and start uvicorn
/init_back &