Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Byte-Code/lm-digital-store-private-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lm-digitalstore

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.

Install

First, clone the repo via git:

git clone https://github.com/Byte-Code/lm-digitalstore

And then install dependencies.

ProTip: Install with yarn for faster and safer installation:

$ cd your-project-name && yarn

Or the old school cool way:

$ cd your-project-name && npm install

Run

Development mode:

$ yarn dev

Production 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 prod

Packaging

To package apps for the local platform:

$ yarn package

To package apps for all platforms:

First, refer to Multi Platform Build for dependencies.

Then,

$ yarn package-all

To package apps with options:

$ yarn package -- --[option]

Release

First, set GH_TOKEN as ENV variable.

Upgrade version, then run:

$ yarn release

This will create a draft release on github, that you need to confirm.

Pre-Release

  • 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.

Test

$ yarn test

Authors

Maintainers

License

MIT ©