Saturday, November 9, 2019

Angular with Electron JS


Installation
Angular: npm install -g @angular/cli
Electron: npm i -D electron@latest
Electron Packager:  npm install electron-packager -g

What you need to change ?
Create new angular app : ng new appdemo
Create main.js
Update package.json
Update index.html



Command to test electron app: npm run electron-build

Command to create executable: 
      electron-packager . --platform=<platform-name>
e.g.  electron-packager . --platform=win32

Github git clone url:

git clone https://github.com/yogeshjog/Angular-Electron.git

Video Demo:











Wednesday, January 16, 2019

Installing Node server (Node JS) on Ubuntu

Just hit the following commands:

$sudo apt-get install curl
$curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$sudo apt-get install -y nodejs
source :https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages
(: I don't get it why node js posted it so deep on the first place :)