Install and use nodejs version from .nvmrc
nvm install && nvm use
Install dependencyes
npm-install
Install @deep-foundation/deep-memo
Install https://www.npmjs.com/package/@deep-foundation/deep-memo by using npm-packager
Give permissions
const joinTypeLinkId = await deep.id("@deep-foundation/core", "Join");
const packageLinkId = await deep.id("@freephoenix888/object-to-links-async-converter");
await deep.insert([
{
type_id: joinTypeLinkId,
from_id: packageLinkId,
to_id: await deep.id('deep', 'users', 'packages'),
},
{
type_id: joinTypeLinkId,
from_id: packageLinkId,
to_id: await deep.id('deep', 'admin'),
},
])
Run by using How to run
Pass graphql url and token
To easily get token you can use Copy token
button in the menu of deepcas. Also in the same menu you can find gql
button where you can get graphql path
npm run build &&
npm run start
npm run android-build &&
npm run android-run
npm run ios-build &&
npm run ios-run
You can set these environment variables in .env.development
:
NEXT_PUBLIC_DEEP_TOKEN=""
NEXT_PUBLIC_GRAPHQL_PATH=""