Skip to content

isabella232/cmr-electron-demo

 
 

Repository files navigation

This is a demo Electron application based on the electron-quick-start repo and the Quick Start Guide within the Electron documentation.

This is a sandbox for the Clear My Record team to experiment and learn Electron

Resources we might find useful

To Run from the Terminal

To clone and run this repository you'll need Node.js installed on your computer. We recommend brew install node.

From your command line:

# Clone this repository
git clone git@github.com:codeforamerica/cmr-electron-demo.git
# Go into the repository
cd cmr-electron-demo
# Install dependencies
npm install
# Run the app
npm start

To Package and Run as a Desktop App

This app uses electron-packager to build executable versions of the app for various operating systems.

In order to run the packager for Windows, you need to have Wine 1.6 or greater installed. brew install wine

There are npm scripts to build executables for Mac and Windows (64 bit). These scripts must be run from the project root.

  • npm run package-osx
  • npm run package-windows-x64

The resulting executable will be saved in the project root. They are currently .gitignored so you will need to re-build them locally.

NOTE: The default name for the osx package is [APP-NAME]-darwin-x64.

About

Demo Electron app for experimenting

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.6%
  • HTML 26.4%