diff --git a/README.md b/README.md index 81d47c41..29e08c37 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ Follow these steps to set up your environment: You can then visit `localhost:4000/admin/posts` and see a Torch-generated admin. -If you make a change to one of the generators, you can run `mix regenerate` inside `apps/example` to regenerate the Torch code. +If you make a change to one of the generators, you can run `mix regenerate (eex|slim)` inside `apps/example` to regenerate the Torch code. diff --git a/bin/setup b/bin/setup index 8b73820a..e0bb3ec9 100755 --- a/bin/setup +++ b/bin/setup @@ -21,5 +21,10 @@ cd apps/example && { cd -; } +# workaround for https://github.com/npm/npm/issues/10343 +cd apps/torch && { + npm install; +} + mix test mix credo --strict