Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.35 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.35 KB

Screenshot

Tutorials:

Electron and React

Customize create-react-app:

Version

  • Node v14 is required

How to use this project?

  • Fork and clone
  • Edit app info in package.json
  • Edit port # in package.json
  • Edit app info public/manifest.json
  • Edit title in public/index.html
  • Update src/images/logo.svg and splash screen design in public/index.html

Prerequisites

  • Run yarn install

To start development in Electron

  • Run yarn dev

To start development in browser. This is not possible if you're use modules like fs and mysql

  • Run yarn start

To build

  • Run yarn build

To test

  • Run yarn test

To generate coverage report

  • Run yarn cover

To package

  • Run yarn package

Hosting On Apache: You need to add Web.config to redirect all 404 to index.html, see public/.htaccess

On IIS: You need to add Web.config to redirect all 404 to index.html, see public/Web.config

On S3: You need to point 404 to index.html for routes to work https://stackoverflow.com/questions/51218979/react-router-doesnt-work-in-aws-s3-bucket