- If you have installation or compilation issues with this project, please see the debugging guide
Install dependencies with yarn.
$ cd your_directory/evolver-electron
$ yarnStart 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 devUse 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"To package apps for the local platform (Does not work well when compiling in other platforms. e.g. compile in OSX for OSX):
$ yarn packageTo 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:wineInstall dependencies again in environment. Remember to reinstall dependences for local platforms after exiting Docker.:
$ yarnPackage for Raspberry Pi:
$ yarn package-rpi- Zachary Heins
- Brandon Wong
- Electron-React Boilerplate Repo - All this work is based on infrastructure from their repo