Before you get started you'll need to have Python 3.11+ and uv installed.
Create a virtual environment the web application by running the following commands in a terminal.
Using Python 3.11+ and uv, create a virtual environment.
uv syncIf you plan on testing, also install the development dependencies.
uv sync --group dev
Start the Flask development web server on your local machine.
FLASK_APP="flaskskeleton:init_webapp('./config/dev.config')" flask runAlternatively, start the gunicorn arbiter for a more production-like environment.
gunicorn -c config/gunicorn.py -b 0.0.0.0:8080 flaskskeleton:appThen, in your browser, navigate to http://127.0.0.1:8080/.
Initialize the development database using alembic.
alembic upgrade headThe database will be created automatically if running in testing mode.
Otherwise, you'll need to create it yourself and point to it using the
SQLALCHEMY_DATABASE_URI environment variable or configuration file.
``
Start the background worker process, which uses APScheduler to run scheduled jobs.
flask-skeleton-worker -c config/dev.config