xcode-select --install
postgres 14 (for commands pg_restore and dropdb)
node 16.15.1 npm 8.11.0
npm install
npm run electron:serve
npm run build:publish
- Download Node.js
- Download Postgresql
- Download Visual Studio Community 2019 - download windows 10 Sdk + MSVC v141 2017
- Download PgAdmin4 v4.3.
- Run the following commands in terminal:
npm install -g node-gyp
npm install -g postgresql
npm install -g pg
npm install -g win-node-env
- Add PostgreSQL bin to envrioment variable
Go to enviroment variables -> Path -> New -> C:\Program Files\PostgreSQL\10\bin
- Add SET NODE_ENV=development
https://jordan-eckowitz.medium.com/make-any-website-into-a-desktop-app-with-1-line-of-code-ba53d59bf9e1 npm install nativefier -g nativefier --name "HTAP" "http://localhost:8080"
check valid identities with: security find-identity -v -p codesigning
to setup certs: a. install x-code. settings -> accounts -> login with H3O account details (ANIL can provide) b. create new mac distribution cert if it is not already saved in your keychain c. export the cert and double click the downloaded cert to install to keychain. Should appear under System folder. d. install root and intermediate certs from here: https://www.apple.com/certificateauthority/ root: https://www.apple.com/appleca/AppleIncRootCertificate.cer intermediate: https://www.apple.com/certificateauthority/DevAuthCA.cer
check valid identities should show output as follows:
- F574568F4719599346BB75F09D69C9DCCD1F4ECD "Apple Distribution: H3O Labs, LLC (QU9F229J64)"