Giter VIP home page Giter VIP logo

electron-cgi-calculator-demo's Introduction

ElectronCGI Calculator Demo

Demo project for ElectronCGI using Electron for the GUI and .Net for the operations.

For more information about ElectronCGI read this.

To run the project go to the app folder cd NodeCalculator and then run npm start (You might need to change the path to the DotNetCalculator).

To create a rpm for Linux:

  1. Go to cd DotNetCalculator folder
  2. Run for linux dotnet publish --configuration release --runtime linux-x64 --self-contained false --output bin/Release/netcoreapp3.1/publish/
  3. Go to cd NodeCalculator
  4. Run npm run dist-linux
  5. The .rpm package will be available in dist folder
  6. To install the rpm on linux use sudo yum install {path-to-rpm-file} or sudo dnf install {path-to-rpm-file} or sudo rpm โ€“i {path-to-rpm-file}

To create a setup file for Windows:

  1. Go to cd DotNetCalculator folder
  2. Run for windows dotnet publish --configuration release --runtime win-x64 --self-contained false --output bin/Release/netcoreapp3.1/publish/
  3. Go to cd NodeCalculator
  4. Run npm run dist-win
  5. The exe installation file will be available in dist folder
  6. To install just run /dist/Calculator Demo Setup 1.0.0.exe file.

Some ideas how to create a kiosk app on linux:

https://www.electron.build/configuration/configuration

https://gist.github.com/voor/8215016d722da5df0caf629469fe7e80

https://help.gnome.org/admin/system-admin-guide/stable/lockdown-single-app-mode.html.en

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/single-application-ode

https://github.com/VoidVolker/kiosk/blob/master/linux_kiosk_init.sh

https://gist.github.com/anonymous/5bba6c9b6425a42b4ea1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.