Coder Social home page Coder Social logo

elartix / electron-angular-boilerplate-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thomas-barthelemy/electron-angular-boilerplate

1.0 2.0 0.0 92 KB

An Electron + AngularJS + Angular Material boilerplate with native menu and automated build using Electron-packager

License: MIT License

JavaScript 88.99% HTML 11.01%

electron-angular-boilerplate-1's Introduction

Electron + AngularJS + Angular Material

For a TypeScript Version of the Boilerplate see the typescript branch

Clone and run for a quick way to get started with Electron + AngularJS + AngularMaterial.

A basic Electron application needs just these files:

  • index.html - A web page to render.
  • main.js - Starts the app and creates a browser window to render HTML.
  • package.json - Points to the app's main file and lists its details and dependencies.

You can learn more about each of these components within the Quick Start Guide.

The Angular App is located in the scripts/ folder. This boilerplate includes:

  • AngularJS - For running the AngularJS App
  • Angular-Material, Angular-Aria and Angular-Animate - For a sexy look, for everyone
  • Angular-route - For a better life

You can learn more about AngularJS on the AngularJS Website.

Requirements

Electron is no longer a dev dependency and is expected to be installed globally:

npm install -g electron

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/thomas-barthelemy/electron-angular-boilerplate
# Go into the repository
$ cd electron-angular-boilerplate
# Install dependencies and run the app
$ npm install && npm start

Learn more about Electron and its API in the documentation.

To build

To fully use this boilerplate you will need grunt (npm install grunt-cli), from there you can use grunt build to package your Electron app using Electron Packager which will:

  • Clean any previous build
  • Prepare a minimal App in the /build folder (configurable in Gruntfile.js)
  • Find node_modules dependencies in your index.html and add them accordingly to the build folder
  • Uglify the JS files in the build folder
  • Package the App using ASAR (configurable)
  • Create distribution package for all platforms (configurable) in the dist folder

License MIT

electron-angular-boilerplate-1's People

Contributors

davidepastore avatar thomas-barthelemy avatar

Stargazers

 avatar

Watchers

 avatar  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.