mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
Update readme with esbuild related commands
This commit is contained in:
parent
bb6f6306c4
commit
39728f415f
1 changed files with 20 additions and 1 deletions
21
README.md
21
README.md
|
|
@ -40,11 +40,11 @@ bundle exec rake db:create db:migrate db:seed
|
|||
```
|
||||
|
||||
Install the javascript dependencies
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
```
|
||||
|
||||
|
||||
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
|
||||
|
|
@ -151,5 +151,24 @@ yarn test
|
|||
## Continuous Integration
|
||||
|
||||
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
|
||||
|
||||
## 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…
Add table
Add a link
Reference in a new issue