Source code for https://ecsact.dev
NOTE: Windows it not supported at this time. Please use some linux distribution. If you're on Windows then WSL should work fine.
NOTE: All examples are assuming you're using nushell. Adjust accordingly if you're using a different shell.
bazel run -- @pnpm --dir $env.PWD install --frozen-lockfile
Run the devserver with bazel
bazel run //src:devserver
Or run the devserver with the bazel watcher ibazel
ibazel run //src:devserver
Test with the prodserver when you are done
bazel run //src:prodserver
You should configure your editor to format automatically, but if you want to manually format then run this:
bazel run //:format
- prettier for html/css/ts
- buildifier for starlark
There are several rendered assets that don't automatically build. To render them use the following
bazel run //src/renders:copy_renders
If you get an error about not being able to read .param
files make sure you don't have --experimental_convenience_symlinks=ignore
set. bzlws issue