From 0ef7b795f337fa0fe93d40c15e4d9b1cd6a33a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 13 Dec 2023 21:50:46 +0100 Subject: [PATCH] Fix the demo serve --- Makefile | 1 + pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 14cd337b..80f057c0 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,7 @@ $(BUILD_DIR)/c2cgeoform_demo: build c2cgeoform/scaffolds/c2cgeoform c2cgeoform_d poetry run cookiecutter --no-input --output-dir=$(dir $@) c2cgeoform/scaffolds/c2cgeoform/ \ project=c2cgeoform_demo package=c2cgeoform_demo \ package_logger=c2cgeoform_demo pyramid_docs_branch=master + sed -i 's#@localhost:5432/c2cgeoform_demo#@localhost:54321/c2cgeoform_demo_tests#g' $@/development.ini cp c2cgeoform_demo_dev.mk $@/dev.mk .PHONY: update-catalog diff --git a/pyproject.toml b/pyproject.toml index 42b0c5ac..b2b2b8a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,8 @@ include = [ "c2cgeoform/py.typed", "c2cgeoform/scaffolds/c2cgeoform/**", "c2cgeoform/templates/**", - "c2cgeoform/static/**" + "c2cgeoform/static/**", + "c2cgeoform/static/dist/*", ] exclude = ["c2cgeoform/static/node_modules/**"] packages = [{ include = "c2cgeoform" }]