22 lines
1009 B
Markdown
22 lines
1009 B
Markdown
Yarn Dependency Management:
|
|
To force upgrades for some packages:
|
|
yarn upgrade-interactive --latest
|
|
|
|
To Start Hasura CLI:
|
|
npx hasura console
|
|
|
|
Migrating to Staging:
|
|
npx hasura migrate apply --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#'
|
|
npx hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret 'Test-ImEXOnlineBySnaptSoftware!'
|
|
|
|
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
|
|
|
|
#Crushing all hasura migrations by creating a new initialization from the server.
|
|
hasura migrate create "Init" --from-server --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#'
|
|
hasura migrate apply --version "1620771761757" --skip-execution --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#'
|
|
hasura migrate status --endpoint https://db.imex.online/ --admin-secret 'Production-ImEXOnline!@#'
|