modernleft-docs/docker/quartz/Developing with Quartz.md

862 B

title draft date
Developing with Quartz false 2025-01-17

This container is also good for quickly developing components for Quartz. It is a good way to test things out without having to install anything on your local machine, and a simple make run -> ctrl-c -> up arrow -> enter is all you need to see your changes.

I keep all of my projects in ~/Repositories, so I would do this:

Link my primary development folder to the container repo's source folder:

cd ~/Repositories
git clone git@git.modernleft.org:gravityfargo/quartz-docker.git
git clone git@github.com:jackyzha0/quartz.git

Then mount the quartz directory to the development docker-compose file:

volumes:
- ~/Repositories/quartz:/quartz/src

Then, you can run the container with the following command:

cd ~/Repositories/quartz-docker
make run