-
Clone the repository:
$ git clone https://github.com/katalyst-labs/flask-duckdns-setup.git
-
Make the script executable:
chmod +x flask-duckdns-setup.sh
-
Run the script:
./flask-duckdns-setup.sh
-
Alternative method:
-
Create a
.envfile in the root directory. -
Add your secret values to the file:
DUCKDNS_SUBDOMAIN=your_subdomain DUCKDNS_TOKEN=your_token FLASK_APP_NAME=your_flask_app_name FLASK_APP_DIR=path/to/your/flask/app USER=username VENV_PATH=path/to/your/venv EMAIL=your_email -
Then these values can be set in the current bash shell by simply sourcing the file as
source .env
-
Contributions are welcome! Please open an issue or submit a pull request.