Tracker ordering fix + March–April fixture entries #1
+3
-15
@@ -27,16 +27,8 @@ Seven sample journal entries for a fictional Japan + South Korea trip (March–A
|
|||||||
|
|
||||||
## How to deploy demo content
|
## How to deploy demo content
|
||||||
|
|
||||||
Copy the tracker entries into the Grav pages tree:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cp -r user/docs/demo/tracker/. user/pages/01.tracker/
|
make demo-load
|
||||||
```
|
|
||||||
|
|
||||||
Then clear the Grav cache so the new pages appear immediately:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Open `http://localhost:8081/tracker` — all 7 entries should appear.
|
Open `http://localhost:8081/tracker` — all 7 entries should appear.
|
||||||
@@ -45,14 +37,10 @@ Open `http://localhost:8081/tracker` — all 7 entries should appear.
|
|||||||
|
|
||||||
## How to reset (remove demo content)
|
## How to reset (remove demo content)
|
||||||
|
|
||||||
Remove all demo entries (leaves the real `tracker.md` index page and any real entries untouched if they have different slugs):
|
Removes all demo entries. Real entries with different slugs are left untouched.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
for dir in user/docs/demo/tracker/*/; do
|
make demo-reset
|
||||||
folder=$(basename "$dir")
|
|
||||||
rm -rf "user/pages/01.tracker/$folder"
|
|
||||||
done
|
|
||||||
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
+2
-3
@@ -77,9 +77,8 @@ Design direction: **Field Notes** — editorial travel journal aesthetic, not so
|
|||||||
Seven sample entries for design/QA showcasing: feed, map route, stats, weather variety (including snow).
|
Seven sample entries for design/QA showcasing: feed, map route, stats, weather variety (including snow).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Deploy demo content
|
make demo-load # copy entries into tracker, clear cache
|
||||||
cp -r user/docs/demo/tracker/. user/pages/01.tracker/
|
make demo-reset # remove demo entries, clear cache
|
||||||
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Full instructions: `user/docs/demo/README.md`
|
Full instructions: `user/docs/demo/README.md`
|
||||||
|
|||||||
Reference in New Issue
Block a user