mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-21 07:12:13 +00:00
feat: docker docs, semantic search alpha
This commit is contained in:
parent
c12af32a5a
commit
e9aa6ae9e7
11 changed files with 71 additions and 70 deletions
content/notes
|
@ -4,11 +4,10 @@ tags:
|
|||
- setup
|
||||
---
|
||||
|
||||
If you want to host Quartz on a specific machine, it may be easier to [install Docker Compose](https://docs.docker.com/compose/install/) and follow the instructions below (than to [install Quartz's dependencies manually](notes/preview%20changes.md)).
|
||||
|
||||
If you want to host Quartz on a machine without using a webpage hosting service, it may be easier to [install Docker Compose](https://docs.docker.com/compose/install/) and follow the instructions below than to [install Quartz's dependencies manually](notes/preview%20changes.md).
|
||||
## Hosting Quartz Locally
|
||||
|
||||
You can serve Quartz locally at `http://localhost:1313` with the following script:
|
||||
You can serve Quartz locally at `http://localhost:1313` with the following script, replacing `/path/to/quartz` with the
|
||||
actual path to your Quartz folder.
|
||||
|
||||
docker-compose.yml
|
||||
```
|
||||
|
@ -29,11 +28,9 @@ services:
|
|||
- HUGO_APPENDPORT=true
|
||||
```
|
||||
|
||||
By default, the container will clone and serve `github:jackyzha0/quartz`. However, you can serve your own fork of `quartz` by cloning to the above `/path/to/quartz` directory.
|
||||
|
||||
Then run with: `docker-compose up -d` in the same directory as your `docker-compose.yml` file.
|
||||
|
||||
While the container is running, you can update their `quartz` fork with: `docker exec -it quartz-hugo make update`.
|
||||
While the container is running, you can update the `quartz` fork with: `docker exec -it quartz-hugo make update`.
|
||||
|
||||
## Exposing Your Container to the Internet
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue