Giter VIP home page Giter VIP logo

belectron's Introduction

Boilerplate code for electron

Prerequisites for running this project

This project has been tested on Windows 7 & 10 using the following versions without any errors. Newer versions are also likely to work but you can always fallback to the version number specified.

-> npm install

What it includes

Usage

Development

-> npm run dev

Production

-> npm run production

This bundles the react part of the application into a bundle and minifies the electron part together into a /dist directory. It also starts up the bundled code. Please note that this doesn't have hot reloading capabilites.

Build

To package the /dist folder into an executable file you can run:

-> npm run build-windows

Currently this is the only build and it targets 64bit windows.

Special thanks

The project is based on the following Github repository: chentsulin/electron-react-boilerplate

Other helpful links

Notes

  • Be aware that certain packages that this project depends on are subject to updates and could potentially break this build. If this is the case you can either revert said packages to the version specified in the package.json file by removing the ^ from the version number or by trying to fix the errors caused by the update.

  • I recommend the following community packages for atom:

  • Other cool community packages for atom:

  • To change the PORT edit the config in package.json. If you're not building on windows you might also have to change any use of %npm_package_config_*% to $npm_package_config_*

belectron's People

Contributors

steinararnason avatar

Watchers

 avatar  avatar  avatar

belectron's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.