SDK based application, with configured @deep-foundation/perception-imports.
With regenerate imports/preloaded.json
GQL="<GQL_URL>" TOKEN="<ADMIN_TOKEN>" npm run dev
Without regenerate imports/preloaded.json
npm run dev
Regenerate imports/preloaded.json even if dev already runned
GQL="<GQL_URL>" TOKEN="<ADMIN_TOKEN>" npm run preload
For fast editing depended packages, initial commands:
If perception-imports and/or deeplinks cloned, then
npm run dev
automatically copy into perception-app/node_modules.
npm ci; (git clone https://github.com/deep-foundation/perception-imports.git; cd perception-imports; npm ci); (git clone https://github.com/deep-foundation/deeplinks.git; cd deeplinks; npm ci);
export NEXT_PUBLIC_GRAPHQL_URL=https://deeplinks.deep.foundation/gql;
export NEXT_PUBLIC_GQL_SSL=1;