refactor & build: updated desec-ip-sync, might cause breaking change
This commit is contained in:
parent
f3fb099aa0
commit
5964402f81
17 changed files with 576 additions and 136 deletions
|
|
@ -1,16 +0,0 @@
|
|||
#!/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 # Update pip to the latest version
|
||||
else
|
||||
source venv/bin/activate
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue