refactor(repo): most of these scripts are outdated, refactored desec
All checks were successful
/ test (push) Successful in 23s
All checks were successful
/ test (push) Successful in 23s
This commit is contained in:
parent
5b03adaaa9
commit
6682679493
18 changed files with 154 additions and 133 deletions
13
server-scripts/desec-ip-sync/run.bash
Executable file
13
server-scripts/desec-ip-sync/run.bash
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
# If virtual environment does exist..
|
||||
if [ ! -d venv ]; then
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -U python-dotenv requests
|
||||
pip install -U pip # Update pip to the latest version
|
||||
else
|
||||
source venv/bin/activate
|
||||
fi
|
||||
|
||||
python main.py
|
||||
Loading…
Add table
Add a link
Reference in a new issue