This is Veriken app.
>=14.13.1 19.6.1
`
npm install
cd web
npm install
npx sequelize-cli db:migrate
cd frontend
npm install
cd web
npm install
npx sequelize-cli db:migrate
cd frontend
npm install
npm run build
source .env
npm run dev
source .env
cd web
npm run serve
heroku config:set PGSSLMODE=no-verify
npx sequelize db:migrate:status
npx sequelize-cli db:migrate
heroku run npx sequelize-cli db:migrate
db:migrate:undo:all
npx sequelize-cli db:migrate:undo:all --to XXXXXXXXXXXXXX-migration-name.js
fill .env with the next config
#SHOPIFY
SHOPIFY_API_KEY=Shopify api key
SHOPIFY_API_SECRET=Shopify api secret
SCOPES=app scope (example: write_products)
#HOST
HOST=app domain (example: shopify-app.com)
#TEST SHOP
SHOP=test shop domain (example: apptest-store.myshopify.com)
#DB
DATABASE_HOST=Database host
DATABASE_USERNAME=Database username
DATABASE_PASSWORD=Database password
DATABASE_NAME=Database name
DATABASE_PORT=Database port (example: 5432)
#APP
PORT=app port (example:3000)
TEST_CRON_CHECK_NFT_SALES_ELIGIBILITY=false If you have tested cron-job must be "true"
#VERIKEN
VERIKEN_API_URL=Veriken API url (example: https://testnet.veriken.net/api/v1)
NEAR_WALLET_URL=
The frontend is a single page app. It requires the SHOPIFY_API_KEY, which you can find on the page for your app in your partners dashboard. Paste your app’s key in the command for the package manager of your choice:
Using yarn:
cd web/frontend/ && SHOPIFY_API_KEY=REPLACE_ME yarn build
Using npm:
cd web/frontend/ && SHOPIFY_API_KEY=REPLACE_ME npm run build
Using pnpm:
cd web/frontend/ && SHOPIFY_API_KEY=REPLACE_ME pnpm run build
You do not need to build the backend.
Content type
Image
Digest
sha256:60e416452…
Size
70.7 MB
Last updated
over 2 years ago
docker pull kuberlab/digitalsuits-shopify-app