fbla-cs-competition/api/run.bash
devaine 1736e9eb09
Some checks failed
/ build (push) Failing after 0s
/ deploy (push) Failing after 16s
feat(initial commit): first commit, testing out deployment
2026-05-10 16:50:19 -05:00

19 lines
388 B
Bash
Executable file

#!/bin/bash
#if [ ! -f .env ]; then
# env | grep DESEC_TOKEN >>.env
# env | grep CURRENT_DOMAIN >>.env
#fi
# If virtual environment does exist..
if [ ! -d venv ]; then
python3 -m venv venv
source venv/bin/activate
pip install -U -r requirements.txt
pip install -U pip
fi
# Assuming that your environemnt is already setup
if [ -d venv ]; then
pip install -U -r requirements.txt
fi