https://github.com/arieljimenez/iventory
An Electron app to handle inventory needs.
https://github.com/arieljimenez/iventory
desktop electron elm google-mdl webpack4
Last synced: about 2 months ago
JSON representation
An Electron app to handle inventory needs.
- Host: GitHub
- URL: https://github.com/arieljimenez/iventory
- Owner: arieljimenez
- Created: 2018-03-25T16:50:24.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2018-04-18T04:37:13.000Z (about 8 years ago)
- Last Synced: 2025-01-11T02:48:57.350Z (over 1 year ago)
- Topics: desktop, electron, elm, google-mdl, webpack4
- Language: CSS
- Size: 342 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iVentory
> What if i told you that you can make Elm desktop apps thats feels native?
## Development
- With `npm`, just run `$ npm run install`, that will triger a install of **npm** and **elm** dependencies.
- Run `$ npm run dev` for run the app in developer mode.
## Production
- Run `$ npm run build` to create the files that will be shiped to __electron__ (+info in __Builds__).
## Builds
>Thinking in move this part to a separate readme and store it in build dir. :thinking:
- In the root folder, run `$ npm run prod`, this will install dependencies and _webpack_ the necessary files into `./build/dist` folder.
- Enter to the `build` dir.
- Run `$ npm install` to install all the dependencies and will download the electron builds dependencies for your platform.
- For builds:
- :white_check_mark: OSX: `$ npm run mac`.
- :white_check_mark: Windows (x86): `$ npm run win` (need wine to compile the exe in OSX and Linux systems).
- To install `wine` in OSX, first we need install `xquartz`: `$ brew cask install xquartz`, and later, install wine with brew: `$ brew install wine`.
- :ballot_box_with_check: Linux (x86_64): `$ npm run linux`.
## Stack
- :ballot_box_with_check: Alpine Containers
- :white_check_mark: Nodejs v8.10.0 (npm v5.6.0)
- :white_check_mark: Webpack 4.2.0
- :white_check_mark: Electron v1.8.4 + Chromium v59.0.3071.115
- :white_check_mark: Elm 0.18 (Frontend)
- :ballot_box_with_check: Golang (Backend/API/ORM)
- :ballot_box_with_check: MariaDB (in the kitchen)
## Why?
- **Why not?**
- 'cause i tried to back to develop desktop software (Java & C#) and at least for me... **IT SUCKS!**.
- Plus elm almost guarantee 0% of run time error in production.
- It is more fun code web apps that desktop ones!