Skip to content

Bash shell script to automate the process of configuring and setting up a Flask application using NGINX with SSL via Lets Encrypt!

License

Notifications You must be signed in to change notification settings

katalyst-labs/flask-duckdns-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Quick Start

  1. Clone the repository:

    $ git clone https://github.com/katalyst-labs/flask-duckdns-setup.git
  2. Make the script executable:

    chmod +x flask-duckdns-setup.sh
  3. Run the script:

    ./flask-duckdns-setup.sh
  4. Alternative method:

    • Create a .env file 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

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

About

Bash shell script to automate the process of configuring and setting up a Flask application using NGINX with SSL via Lets Encrypt!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages