Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chandu0101/sri-desktop-examples
https://github.com/chandu0101/sri-desktop-examples
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chandu0101/sri-desktop-examples
- Owner: chandu0101
- Created: 2015-10-26T05:05:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-26T05:29:09.000Z (over 9 years ago)
- Last Synced: 2024-11-29T14:16:00.157Z (3 months ago)
- Language: Scala
- Size: 2.57 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)




# 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
```