15 lines
580 B
Markdown
15 lines
580 B
Markdown
React App:
|
|
|
|
Yarn Dependency Management:
|
|
To force upgrades for some packages: yarn upgrade-interactive --latest
|
|
|
|
GraphQL API:
|
|
Hasura is hosted on another dyno. Several environmental variables are required, including disabling the console.
|
|
ALL CHANGES MUST BE MADE USING LOCAL CONSOLE TO ENSURE DATABASE MIGRATION FILES ARE CREATED.
|
|
|
|
To Start Hasura CLI:
|
|
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
|
|
|
Migrating to Staging:
|
|
npx hasura migrate apply --up 10 --endpoint https://bodyshop-staging-db.herokuapp.com/ --admin-secret Staging-BodyShopAppBySnaptSoftware!
|