- Node - https://nodejs.org/en/download/
- yarn - https://yarnpkg.com/en/docs/install
- Have the Developer ID certificate for Khalis Foundation installed from Apple Developer Console
- pageant on Windows for SSH access to remote server
- AWS S3 keys
- macOS
- Distribution provision profile in app root directory for Mac App Store
- Windows
- Set
CSC_LINKandCSC_KEY_PASSWORDenvironment variables with the .p12 path and decryption password respectively
- Clone repository
- Run
git submodule update --init --recursiveafter youcdinto the repository - Run
git checkout -t origin/devin the repository root and the www folder - Run
yarn installin the repository root - Depending on your current operating system, run
yarn run pack:winoryarn run pack:macto rebuild the native plugins for your system
Create file packaging/aws.json using packaging/aws-sample.json and fill out AWS information
Create file packaging/keys.json using packaging/keys-sample.json and enter location of private key for SSH access to remote server where version number will be stored
- Run
yarn startin the repository root
- Run
yarn dist:osxon macOS oryarn dist:winandyarn dist:win32on Windows to create and upload the app setup and update files