Skip to content

Commit

Permalink
🐝 Add "make local-bake" to fix image issues
Browse files Browse the repository at this point in the history
Note that it needs to run `yarn buildVite` to create asset bundles
before the first local bake can succeed.
  • Loading branch information
larsyencken committed Jul 23, 2024
1 parent b655ffa commit b583962
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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

0 comments on commit b583962

Please sign in to comment.