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

25 lines
907 B
Markdown
Raw Normal View History

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 02:59:47 +00:00
Inside the quartz-docker repo, link the quartz/src directory to your your primary dev location. I keep all of my projects in ~/Repositories, so I would do this:
```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
cd quartz-docker
make run
2025-01-18 03:09:47 +00:00
# ctrl-c
rm -rf ~/Repositories/quartz-docker/quartz/src/quartz/components
ln -sf ~/Repositories/quartz/quartz/components ~/Repositories/quartz-docker/quartz/src/quartz
2025-01-18 03:04:50 +00:00
```
Then, you can run the container with the following command:
```bash
2025-01-18 02:59:47 +00:00
```