This repository contains code related to the NEH-funded planning grant for a collaborative project with the Roy Rosenzweig Center for History and New Media (RRCHNM), Historic Blenheim and the Civil War Interpretive Center (Fairfax City, VA), and the Brandy Station Foundation (Brandy Station, VA).
The project uses Poetry for dependency and package management. To create your Django environment, navigate to the root (cloned) directory and do the following:
% cd graffitihouse
% poetry install
% poetry shell
When you're done doing active work on Django, don't forget to deactivate your virtual environment.
% exit
Running manage.py
will require prepending poetry to the commands, like so:
poetry run python manage.py migrate
poetry run python manage.py tailwind build
poetry run python manage.py runserver
A Makefile exists to make life a little more convenient. The common commands are:
make preview
: preview the site locally; this runspoetry run python manage.py runserver
.make tailwind
: compile the CSS; this runspoetry run python manage.py tailwind start
and will reload the browser anytime updates happen.