Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chandu0101/sri-desktop-examples


https://github.com/chandu0101/sri-desktop-examples

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# Sri Desktop Examples

[Sri](https://github.com/chandu0101/sri) desktop examples based on [Electron](https://github.com/atom/electron)

![one](images/sri-desktop1.png)

![two](images/sri-desktop2.png)

![ui-one](images/sri-desktop-ui1.png)

![ui-two](images/sri-desktop-ui2.png)

# Modules

#### MainProcess

>In Electron, the process that runs package.json's main script is called the main process. The script that runs in the main process can display a GUI by creating web pages.

Scala.js version of main.js

#### RenderProcess

>Since Electron uses Chromium for displaying web pages, Chromium's multi-process architecture is also used. Each web page in Electron runs in its own process, which is called the renderer process.

Define all your components/business logic in this module

# How to Run

```scala

// in root(sri-desktop-examples)) folder

sbt ~fastOptDesktopMain

// open new terminal tab , in in root(sri-desktop-examples)) folder

sbt ~fastOptDesktopRender

// open new terminal tab

npm install //one time

webpack // one time

npm start

ctrl/Cmd + R - to refresh

```