Installation#
mkdir new-site && cd new-site
to create a new folderpoetry init --no-interaction --dependency 'coltrane:<1' && poetry install
to create a new virtual environment and install thecoltrane
packageOptional:
brew install watchman
on MacOS for less resource-intensive local development server
Extras#
coltrane
has some additional functionality that is not enabled by default, but can be used if it is installed with extras.
json5
#
Adds support for using JSON5 for data files. This allows trailing commas and comments in JSON, so it can be useful for making JSON a little more readable.
poetry add coltrane -E json5
deploy
#
Adds support for deploying coltrane
to a production server with gunicorn
and whitenoise
pre-configured. More details at deployment.md.
poetry add coltrane -E deploy