Setting Up Captive Portal on EC2

R3zk0n ยท October 2, 2025

Contents
    1. Create .env file containing the following:

    DB_HOST=localhost

    DB_PORT=5432

    DB_NAME=credentials

    DB_USER=postgres

    DB_PASSWORD=[password]

    1. your_domain_or_ip

    2. Run setup.sh - this will install and setup postgresql, install nginx + gunicorn + flask for Python3 production server and run the application

    Twitter, Facebook