Kiosk App built on top of electron-react-boilerplate, which you should always refer to in case of problems.
Tech Stack: Electron, React, Redux, Redux-Saga, React Router, Jest, Enzyme.
- Note: requires a node version >= 6 and an npm version >= 3.
- If you have installation or compilation issues with this project, please see electron-react-boilerplate's official guide
First, clone the repo via git:
git clone https://github.com/Byte-Code/lm-digitalstoreAnd then install dependencies.
ProTip: Install with yarn for faster and safer installation:
$ cd your-project-name && yarnOr the old school cool way:
$ cd your-project-name && npm installDevelopment mode:
$ yarn devProduction mode (without packaging):
- Note: doing this is gonna throw an harmless error since electron auto-updater is not able to find the app-update.yml file. I suggest going through the packaging first if you need to test that functionality.
$ yarn prodTo package apps for the local platform:
$ yarn packageTo package apps for all platforms:
First, refer to Multi Platform Build for dependencies.
Then,
$ yarn package-allTo package apps with options:
$ yarn package -- --[option]First, set GH_TOKEN as ENV variable.
Upgrade version in the file app/package.json commit and then run:
$ yarn releaseThis will create a draft release on github, that you need to confirm.
- Note: before a pre-releases you should remember to disable auto-update functionality by commenting the appropriate lines.
- Remember to tick the apposite checkbox before confirming the draft.
$ yarn testMIT ©