Skip to content

devavratsingh/Electron-React-Material-SQLite

 
 

Repository files navigation

Electron, React with Material-UI design theme and SQLite with Sequelize

Setup the project

Problem goes with the package sqlite3, which is native and need to be rebuild to be used with electron

Windows only solution

  • Install those packages
npm install –g node-gyp
npm install -g windows-build-tools  # This package needs to be run
                                    # from administrator console,
                                    # python also is required
  • Now rebuild the sqlite3 package
npm run rebuild

If there are no errors, the project can be started

Linux or UNIX

For Linux or UNIX based systems there is similar approach, but search for it.

Commands to use

  • To start the project:
npm start
  • To use the Electron debug tool execute the following from the Console tab of your running Electron app's developer tools:
require('devtron').install();

You should then see a Devtron tab added.

Documentations

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.9%
  • CSS 2.8%
  • HTML 1.3%