23 lines
775 B
Markdown
23 lines
775 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!
|
|
|
|
NGROK TEsting:
|
|
|
|
./ngrok.exe http https://localhost:5000 -host-header="localhost:5000"
|
|
|
|
|
|
Finding deadfiles - run from client directory
|
|
npx deadfile ./src/index.js --exclude build templates
|