Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chandu0101/sri-desktop-template
https://github.com/chandu0101/sri-desktop-template
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chandu0101/sri-desktop-template
- Owner: chandu0101
- Created: 2015-10-26T05:04:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T09:23:42.000Z (about 9 years ago)
- Last Synced: 2024-10-15T08:45:35.094Z (2 months ago)
- Language: Scala
- Size: 2.14 MB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sri Desktop Template
[Sri](https://github.com/chandu0101/sri) desktop app template based on [Electron](https://github.com/atom/electron)
![image](sri-desktop.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
```
// in root(sri-desktop-template)) folder
sbt ~fastOptDesktopMain
// open new terminal tab , in in root(sri-desktop-template)) folder
sbt ~fastOptDesktopRender
// open new terminal tab
npm install //one time
webpack // one time
npm start
ctrl/Cmd + R - to refresh
```
Note: On Windows, if `webpack` command is not recognized then please try:
```
npm install electron-prebuilt webpack -g
```