Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 907 Bytes

readme.md

File metadata and controls

45 lines (32 loc) · 907 Bytes

deep-foundation deepcase

envs

export MIGRATIONS_HASURA_PATH=localhost:8080;
export MIGRATIONS_HASURA_SSL=0;
export MIGRATIONS_HASURA_SECRET=myadminsecretkey;

export NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007;
export NEXT_PUBLIC_GQL_PATH=localhost:3006/gql;
export NEXT_PUBLIC_GQL_SSL=0;

export NEXT_PUBLIC_ENGINES=1;

export JWT_SECRET=<?>;

dev server

npm ci
npm run dev -- -p 3007

prod server

npm ci
npm run build
npm run start

run electron dev

(renderer client builded, not dev)

cross-env ASSET_PREFIX='.' npm run build;
npm run export;
npx cap copy electron; npx cap open electron;

setting icons for electron

put files in public dir and if need change package.json / electron-build ... electron-packager --icon parametr. Use this manual