|
|
|
@ -46,10 +46,10 @@ Pre-requisites:
|
|
|
|
|
`bundle exec rails s` |
|
|
|
|
|
|
|
|
|
b. JS (for hot reloading):\ |
|
|
|
|
`yarn build mode=development --watch` |
|
|
|
|
`yarn build --mode=development --watch` |
|
|
|
|
|
|
|
|
|
If you're not modifying front end assets you can bundle them as a one off task:\ |
|
|
|
|
`yarn build mode=development` |
|
|
|
|
`yarn build --mode=development` |
|
|
|
|
|
|
|
|
|
Development mode will target the latest versions of Chrome, Firefox and Safari for transpilation while |
|
|
|
|
production mode will target older browsers. |
|
|
|
@ -58,7 +58,7 @@ The Rails server will start on <http://localhost:3000>.
|
|
|
|
|
|
|
|
|
|
Running the test suite (front end assets need to be built or server needs to be running):\ |
|
|
|
|
`bundle exec rspec` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Using Docker |
|
|
|
|
|
|
|
|
|