florimondmanca / www

Code for https://florimond.dev
MIT License
32 stars 10 forks source link
ansible asgi jinja2 python starlette tailwindcss

www

Build Status Coverage

Code for https://florimond.dev.

Prerequisites

Install

make install

Usage

Run the website locally:

make start

Run the test suite:

make test

Run automatic code formatting:

make format

Run code checks:

make check

Build assets:

make build

Settings

Environment variable Description Default
WWW_DEBUG Run in debug mode. Enables in-browser tracebacks and content hot reload. False
WWW_TESTING Run against mocked resources. False
WWW_EXTRA_CONTENT_DIRS Include content from extra directories. None

Deployment

Install deploy dependencies:

make install-deploy

Deploy:

make deploy env=prod

For more information, see DEPLOYMENT.md.

License