Skip to content

florimondmanca/www

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ci
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

www

Build Status Coverage

Code for https://florimond.dev.

Prerequisites

Runtime:

  • Python 3.10+

Development only:

  • Node.js 16.x
  • Yarn
  • Heroku CLI - (optional)

Install

make install

Usage

  • Run the website locally:
make serve

# With options:
make args=[UVICORN_OPTIONS] serve
  • Run the website as it would run in production:
. venv/bin/activate
heroku local
  • Run the test suite:
make test

# With options:
make args=[PYTEST_OPTIONS] test
  • Build assets:
make build

Deployment

This website is deployed via Dokku.

  1. (First time only) Setup SSH keys on the remote host. See Setup SSH key and User Management.
  2. Run the deploy script:
make deploy

Settings

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

License

  • Code is licensed under MIT.
  • Writings are my own.