Skip to content

Commit

Permalink
Add workaround for npm bug and update README (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
darinwilson authored and zberkom committed Aug 12, 2016
1 parent f9bfc06 commit 05ad2db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 5 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 05ad2db

Please sign in to comment.