A browser made precisely for your apps.
The only development dependency of this project is Node.js. So just make sure you have it installed. Then type few commands known to every Node developer...
git clone https://github.com/sivaramsi/manageyum.git cd manageyum npm install npm start... and boom! You have a running desktop application on your screen.
The application is split between two main folders...
src- this folder is intended for files which need to be transpiled or compiled (files which can't be used directly by electron).
app- contains all static assets (put here images, css, html etc.) which don't need any pre-processing.
The build process compiles all stuff from the
srcfolder and puts it into the
appfolder, so after the build has finished, your
appfolder contains the full, runnable application.
Treat
srcand
appfolders like two halves of one bigger thing.
The drawback of this design is that
appfolder contains some files which should be git-ignored and some which shouldn't (see
.gitignorefile). But thanks to this two-folders split development builds are much (much!) faster.
npm install
It will also download Electron runtime and install dependencies for the second
package.jsonfile inside the
appfolder.
npm start
Remember to add your dependencies to
app/package.jsonfile:
cd app npm install name_of_npm_module --save
Released under the MIT license.