feat(initial commit): first commit, testing out deployment
This commit is contained in:
parent
9b83b69068
commit
1736e9eb09
27 changed files with 7097 additions and 1 deletions
19
api/run.bash
Executable file
19
api/run.bash
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue