Update Servers/Documentation/Zensical.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 7s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 7s
This commit is contained in:
@@ -15,6 +15,7 @@ cd /srv/zensical
|
||||
source .venv/bin/activate
|
||||
pip install zensical
|
||||
zensical new .
|
||||
deactivate
|
||||
```
|
||||
|
||||
### Configure Zensical Settings
|
||||
@@ -83,9 +84,11 @@ sudo systemctl reload nginx
|
||||
sudo systemctl enable nginx
|
||||
```
|
||||
|
||||
### Configure Zensical to Hotload Changes
|
||||
### Configure Zensical to Hotload Changes `Under Development`
|
||||
Since NGINX has taken over hosting the webpages, this does not need to be accessible from other servers, only NGINX itself which runs on the same host as Zensical. We only want to use the `zensical serve` command to keep a watchdog on the documentation folder and automatically rebuild the static site content when changes are detected. These changes are then served by NGINX's webserver. *We don't care about the IP:port exposed by this built-in Zensical server.
|
||||
|
||||
```sh
|
||||
cd /srv/zensical
|
||||
source .venv/bin/activate
|
||||
zensical serve
|
||||
```
|
||||
Reference in New Issue
Block a user