diff --git a/README.md b/README.md index 968eceb..51941fb 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,13 @@ 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 diff --git a/bin/run b/bin/run deleted file mode 100755 index 305e78f..0000000 --- a/bin/run +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env sh -set -eu - -cd spec/dummy -bundle exec rails s diff --git a/spec/dummy/bin/run b/spec/dummy/bin/run new file mode 100755 index 0000000..df3a4ee --- /dev/null +++ b/spec/dummy/bin/run @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +set -eu + +[ "$(basename "$PWD")" = dummy ] || cd spec/dummy +bundle exec rails s