Skip to content

luisfelrib/electron-quick-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-quick-start

Clone and run for a quick way to see Electron in action with Express + React.

This is a minimal Electron application based on the Quick Start Guide within the Electron documentation.

Dependencies

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. Install Electron Packager globally are required to. To create the installers some libs are optional.

- To build for Debian the electron-installer-debian are required.

- To build a setup installer for Windows the electron-installer-windows are required.

PS: Install Electron libraries globally is an easier way to make things work on Windows

# After Node JS installed use NPM to install Electron and Electron Packager Globally
npm install electron -g
npm install electron-packager -g
# Debian installer
npm install electron-installer-debian -g
# Windows installer
npm install electron-installer-windows -g
# Clone this repository
git clone https://github.com/luisfelrib/electron-quick-start

To Use

# Go into the repository
cd electron-quick-start
# Install dependencies
npm install
# Run the app
npm start

# Build for Linux
npm run build-linux
# Build for Windows
npm run build-windows
# Generate Debian Installer
npm run gen-deb
# Generate Windows installer
npm run gen-exe

Application

  • After build for any SO, the builded application is located in dist folder.
  • After run installer generate command, the resources will be into installers folder.
  • If you run de application from command line you will see some logs on terminal:
# Go into dist folder
cd dist
# Windows builded resources
cd app-win32-x64
# Execute app from terminal to see logs
./electron-quick-start.exe

Server

Resources for Learning Electron

About

This is a basic setup to create Electron app's and build for Linux and Windows

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors