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
|
|
|
|
To Start Hasura CLI:
|
|
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
|
|
|
Migrating to Staging:
|
|
npx hasura migrate apply --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#'
|
|
|
|
NGROK TEsting:
|
|
|
|
./ngrok.exe http http://localhost:5000 -host-header="localhost:5000"
|
|
|
|
Finding deadfiles - run from client directory
|
|
npx deadfile ./src/index.js --exclude build templates
|
|
|
|
cd client && yarn build && cd build && scp -r \*\* imex@prod-tor1.imex.online:~/bodyshop/client/build && cd .. &&cd ..
|
|
|
|
gq https://bodyshop-dev-db.herokuapp.com/v1/graphql -H "X-Hasura-Admin-Secret: Dev-BodyShopAppBySnaptSoftware\!" --introspect > schema.graphql
|