2025-01-18 02:49:47 +00:00
---
title: Developing with Quartz
draft: false
date: 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.
2025-01-18 03:14:51 +00:00
I keep all of my projects in `~/Repositories` , so I would do this:
2025-01-18 02:59:47 +00:00
2025-01-18 03:14:51 +00:00
Link my primary development folder to the container repo's source folder:
2025-01-18 02:59:47 +00:00
```bash
cd ~/Repositories
git clone git@git.modernleft.org:gravityfargo/quartz-docker.git
2025-01-18 03:04:50 +00:00
git clone git@github.com:jackyzha0/quartz.git
```
2025-01-18 03:24:51 +00:00
Then mount the quartz directory to the development docker-compose file:
```yaml
volumes:
- ~/Repositories/quartz:/quartz/src
```
2025-01-18 03:04:50 +00:00
Then, you can run the container with the following command:
```bash
2025-01-18 03:19:47 +00:00
cd ~/Repositories/quartz-docker
make run
```
2025-01-18 03:29:47 +00:00
If 200+ files are claiming to be modified, you may need to disable filemode checking:
```bash
git config core.fileMode false
```