vault backup: 2025-01-17 22:14:51
This commit is contained in:
parent
789bc8d52a
commit
08ef10544a
1 changed files with 4 additions and 6 deletions
|
@ -6,20 +6,18 @@ 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.
|
||||
|
||||
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:
|
||||
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
|
||||
cd quartz-docker
|
||||
make run
|
||||
# ctrl-c
|
||||
rm -rf ~/Repositories/quartz-docker/quartz/src/quartz/components
|
||||
ln -sf ~/Repositories/quartz/quartz/components ~/Repositories/quartz-docker/quartz/src/quartz
|
||||
ln -sf ~/Repositories/quartz ~/Repositories/quartz-docker/quartz/src
|
||||
```
|
||||
|
||||
Then, you can run the container with the following command:
|
||||
|
||||
```bash
|
||||
cd
|
||||
```
|
Loading…
Reference in a new issue