Skip to content

Commit

Permalink
Add bin/run script (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunchr authored Nov 5, 2024
1 parent 709b174 commit f453957
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ end

Finally, you will need to create a configuration file to specify which models you want to manage with Hotsheet.

## Development: Local Setup

After cloning the repo, run `bin/setup` to install dependencies.

- Run tests: `bin/check`
- Run linters: `bin/fastcheck`
- Start dummy app: `spec/dummy/bin/run`

## TODO

- Support live updates (show when someone has the intention to edit a resource) via ActionCable
Expand Down
5 changes: 5 additions & 0 deletions spec/dummy/bin/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
set -eu

[ "$(basename "$PWD")" = dummy ] || cd spec/dummy
bundle exec rails s

0 comments on commit f453957

Please sign in to comment.