feat(server): added a new server script for desec, updates all dns'
This commit is contained in:
parent
016b951047
commit
2a7bd2c250
4 changed files with 120 additions and 0 deletions
11
server-scripts/desec/dev.bash
Executable file
11
server-scripts/desec/dev.bash
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# If virtual environment does exist..
|
||||
if [ ! -d .venv ]; then
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -U python-dotenv
|
||||
pip install --upgrade pip # Update pip to the latest version
|
||||
fi
|
||||
|
||||
echo 'Make sure to run ". .venv/bin/activate" to enter the development environment'
|
||||
Loading…
Add table
Add a link
Reference in a new issue