An open API service indexing awesome lists of open source software.

https://github.com/katallaxie/rocket

:bowtie: Mesos First! Mesos First!
https://github.com/katallaxie/rocket

electron marathon mesos typescript

Last synced: 3 months ago
JSON representation

:bowtie: Mesos First! Mesos First!

Awesome Lists containing this project

README

          

# electron-react-preboot

### A Highly Opinionated Boilerplate For Electron + React


[![Taylor Swift](https://img.shields.io/badge/secured%20by-taylor%20swift-brightgreen.svg)](https://twitter.com/SwiftOnSecurity)
[![Volkswagen](https://auchenberg.github.io/volkswagen/volkswargen_ci.svg?v=1)](https://github.com/auchenberg/volkswagen)
[![TypeScript](https://badges.frapsoft.com/typescript/awesome/typescript.png?v=101)](https://github.com/ellerbrock/typescript-badges/)
[![Build Status](https://travis-ci.org/katallaxie/electron-react-preboot.svg?branch=master)](https://travis-ci.org/katallaxie/electron-react-preboot)
[![Greenkeeper badge](https://badges.greenkeeper.io/katallaxie/electron-react-preboot.svg)](https://greenkeeper.io/)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)

## Install

> requires a `node` version >= 6 and an `npm` version >= 3.x.x

First, clone the repo via git:

```bash
git clone --depth=1 https://github.com/katallaxie/electron-react-preboot.git your-awesome-project
```

And then install dependencies with `npm`.

```bash
$ cd your-awesome-project
$ npm i
```

> you will find readly compiled files in `app`

## Run

Start the app in the `dev` environment. This starts the renderer process in [**hot-module-replacement**](https://webpack.js.org/guides/hmr-react/) mode and starts a server sends hot updates to the renderer process:

```bash
$ npm run start
```

> that's it, you have your awesome Electron up an running

## DevTools

#### Toggle Chrome DevTools

- OS X: Cmd Alt I or F12
- Linux: Ctrl Shift I or F12
- Windows: Ctrl Shift I or F12

*See [electron-debug](https://github.com/sindresorhus/electron-debug) for more information.*

#### DevTools extension

This boilerplate is included following DevTools extensions:

* [Devtron](https://github.com/electron/devtron) - Install via [electron-debug](https://github.com/sindresorhus/electron-debug).
* [React Developer Tools](https://github.com/facebook/react-devtools) - Install via [electron-devtools-installer](https://github.com/GPMDP/electron-devtools-installer).
* [Redux DevTools](https://github.com/zalmoxisus/redux-devtools-extension) - Install via [electron-devtools-installer](https://github.com/GPMDP/electron-devtools-installer).

You can find the tabs on Chrome DevTools.

## Packaging

To package apps for the local platform:

```bash
$ npm run publish
```

To package apps for all platforms:

First, refer to [Multi Platform Build](https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build) for dependencies.

## License
MIT © [Sebastian Döll](https://github.com/katallaxie)