From b58396254ef86d9b34d71da6d012055ca0eea95f Mon Sep 17 00:00:00 2001 From: Lars Yencken Date: Tue, 23 Jul 2024 09:11:54 +0000 Subject: [PATCH] :honeybee: Add "make local-bake" to fix image issues Note that it needs to run `yarn buildVite` to create asset bundles before the first local bake can succeed. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6a40afa5965..0b10cace74f 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,7 @@ help: @echo ' make test run full suite (except db tests) of CI checks including unit tests' @echo ' make dbtest run db test suite that needs a running mysql db' @echo ' make svgtest compare current rendering against reference SVGs' + @echo ' make local-bake do a full local site bake' @echo @echo ' GRAPHER + CLOUDFLARE (staff-only)' @echo ' make up.full start dev environment via docker-compose and tmux' @@ -292,5 +293,10 @@ bench.search: itsJustJavascript @echo '==> Running search benchmarks' @node --enable-source-maps itsJustJavascript/site/search/evaluateSearch.js +local-bake: itsJustJavascript + @echo '==> Baking site' + yarn buildVite + yarn buildLocalBake + clean: - rm -rf node_modules itsJustJavascript + rm -rf node_modules itsJustJavascript \ No newline at end of file