Forum: PHP 8.4 test image, server bundle, install notes for the test server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
@@ -7,7 +7,7 @@ PAGEFIND ?= npx -y pagefind@1
|
||||
DEPLOY_DIR ?= /run/user/$(shell id -u)/gvfs/smb-share:server=barbel-lescar,share=web/oldcomputers
|
||||
DEPLOY_URL ?= https://barbel.synology.me/oldcomputers/
|
||||
|
||||
.PHONY: content build check serve deploy post forum-up forum-import forum-down
|
||||
.PHONY: content build check serve deploy post forum-up forum-import forum-down forum-bundle
|
||||
|
||||
content: ## regenerate content/ and static/media/ from the extraction repo
|
||||
python3 $(OC)/scripts/05_hugo.py --target $(CURDIR) $(if $(wildcard data/forum.json),--forum)
|
||||
@@ -46,3 +46,9 @@ forum-import: ## export the archived comments and import them into the test for
|
||||
|
||||
forum-down: ## stop the test forum (forum-db volume keeps its data)
|
||||
$(FORUM) down
|
||||
|
||||
forum-bundle: ## build forum/import/forum.tar.gz: Flarum + extension, to copy to the server
|
||||
mkdir -p forum/import
|
||||
$(FORUM) build flarum
|
||||
docker run --rm --entrypoint /bundle.sh -v $(CURDIR)/forum/docker/bundle.sh:/bundle.sh:ro \
|
||||
-v $(CURDIR)/forum/extension:/extension:ro -v $(CURDIR)/forum/import:/out forum-flarum
|
||||
|
||||
Reference in New Issue
Block a user