Skip to content

maraxen/evolver-electron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

  • If you have installation or compilation issues with this project, please see the debugging guide

Install dependencies with yarn.

$ cd your_directory/evolver-electron
$ yarn

Run

Start the app in the dev environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:

$ yarn dev

Github

Use the command line to commit to the repo, using the Github App will throw errors:

git add .
git commit -a --no-verify -m "Put comment here"

Packaging

To package apps for the local platform (Does not work well when compiling in other platforms. e.g. compile in OSX for OSX):

$ yarn package

To package app for Raspberry Pi, first simulate Pi with Docker container:

docker run --rm -ti  --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_')  --env ELECTRON_CACHE="/root/.cache/electron" --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder"  -v ${PWD}:/project  -v ${PWD##*/}-node-modules:/project/node_modules  -v ~/.cache/electron:/root/.cache/electron  -v ~/.cache/electron-builder:/root/.cache/electron-builder  electronuserland/builder:wine

Install dependencies again in environment. Remember to reinstall dependences for local platforms after exiting Docker.:

$ yarn

Package for Raspberry Pi:

$ yarn package-rpi

Credit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.5%
  • CSS 7.9%
  • HTML 1.5%
  • Python 0.1%