Update readme with esbuild related commands

pull/1/head
rebuilt 4 years ago
parent bb6f6306c4
commit 39728f415f

@ -40,11 +40,11 @@ bundle exec rake db:create db:migrate db:seed
``` ```
Install the javascript dependencies Install the javascript dependencies
```bash ```bash
yarn install yarn install
``` ```
At this point you can run the app and login. There won't be any data yet though; keep reading! At this point you can run the app and login. There won't be any data yet though; keep reading!
The seed file populates the following tables The seed file populates the following tables
@ -151,5 +151,24 @@ yarn test
## Continuous Integration ## Continuous Integration
Pushing commits to the main branch triggers auto-deployment to the staging environment. Pushing commits to the main branch triggers auto-deployment to the staging environment.
Use the ship-it script from the main branch when you're ready to deploy to staging
```bash
scripts/ship-it.sh
```
Deployments to production must be done through the Heroku web interface or via the Heroku command line Deployments to production must be done through the Heroku web interface or via the Heroku command line
## Running the development server
Start esbuild for dynamic compilation of javascript assets.
```bash
yarn build --watch
```
Start the puma web server
```bash
bin/rails s
```

Loading…
Cancel
Save