modernleft-docs/Docker Images/quartz/Developing with Quartz.md

35 lines
1 KiB
Markdown
Raw Normal View History

2025-01-19 08:10:39 +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.
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:
```bash
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:
```yaml
volumes:
- ~/Repositories/quartz:/quartz/src
```
Then, you can run the container with the following command:
```bash
cd ~/Repositories/quartz-docker
make run
```
2025-01-19 22:56:55 +00:00
If 200+ files are claiming to be modified, you may need to disable file mode checking:
2025-01-19 08:10:39 +00:00
```bash
2025-01-19 22:56:55 +00:00
# use --global at your own risk
git config core.fileMode false
2025-01-19 08:10:39 +00:00
```