Skip to content

Instantly share code, notes, and snippets.

@cliffordfajardo
Created March 4, 2022 10:15
Show Gist options
  • Save cliffordfajardo/4fa9348f4711510357ebb90dd881d50d to your computer and use it in GitHub Desktop.
Save cliffordfajardo/4fa9348f4711510357ebb90dd881d50d to your computer and use it in GitHub Desktop.

remix-electron-template

Welcome to your new remix-electron project!

Developement: Getting Started

  1. To install our app's dependencies, run the following command:
yarn
  1. Run the prepare script:
yarn run prepare
  1. To start the app in development mode run the following command:
# NOTE: this uses `nodemon` to restart the app when `main` process files change.
yarn run dev 

Scripts Explained

Note: the following scripts are defined in the package.json file:

  • prepare: This sets up remix dependencies after an install. Don't remove this!
  • dev: Starts the app with hot reloading. Uses nodemon to restart the app when main process files change.
  • build: Builds the app for production. Uses Electron Builder to create a distributable package.
  • start: Starts the app in production mode. Make sure you ran build first.

Additional Info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment