Code for https://florimond.dev.
Runtime:
- Python 3.9+
Development only:
- Node.js v12
- Yarn
- Heroku CLI - (optional)
scripts/install [--update]- Run the website locally:
scripts/serve [UVICORN_OPTIONS]- Run the website as it would run in production:
. venv/bin/activate
heroku local- Run the test suite:
scripts/test [PYTEST_OPTIONS]- Build assets:
scripts/buildThis website is deployed via Dokku.
- (First time only) Setup SSH keys on the remote host. See Setup SSH key and User Management.
- Run the deploy script:
scripts/deploy| Environment variable | Description | Default |
|---|---|---|
DEBUG |
Run in debug mode. Enables in-browser tracebacks and content hot reload. | False |
TESTING |
Run against mocked resources. | False |
EXTRA_CONTENT_DIRS |
Include content from extra directories. | None |
- Code is licensed under MIT.
- Writings are my own.