Giter VIP home page Giter VIP logo

electron-calculator-button-app's Introduction

Electron-calculator-button-app

Follow all below steps for run this application.

  1. You need VS code application on your PC.

  2. create new folder in your workspace folder.
    workspace--
    --Electron-calculator-app
             --indo.html
             --index.html
             --main.js
             --renderer.js
             --styles.css

  3. Open all above files in your VS code.

  4. Before proceeding with Electron you need to install Node.js. To install nodejs run below procees Go to the site https://nodejs.org/en/download/ and download the necessary binary files. In our example, we are going to download the 32-bit setup files for Node.js and install it.

  5. To check that Node.js was installed correctly, type the following commands in your terminal client:
    node -v
    npm -v

  6. we need electron framework for run above calculator application.
    run below command in your terminal-->
    npm install --save-dev electron

  7. run below command for your JSON file
    npm init -y
    and modify your JSON file to
    {
    "name": "my-electron-app",
    "version": "0.1.0",
    "author": "your name",
    "description": "My Electron app",
    "main": "main.js"
    }

  8. By default, the npm start command will run the main script with Node.js. To run the script with Electron, you need to change it as such:
    add "start": "electron ." in your script which is placed in your JSON file. You just need to add.

  9. In terminal go to your project dir and run below command
    npm start

electron-calculator-button-app's People

Contributors

aajjaayy04 avatar

Watchers

 avatar

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.