- Have docker installed
- User need to have the rights to run docker commands without sudo
To use docker commands without sudo, you can add your user to docker group, just following this example.
This is my first electron application, so i did a lot of tests and decided to make babel configurantion by my self. So to run the script npm run dev
you also need to run npm run start
, the first one run typescript compile, and the second run electron application. I know it's boring to run 2 scripts every time, so i'll fix that in soon.
- Clone this repository
- Install the dependencies:
#with yarn
yarn install
#with npm
npm install
- Now, to run delevopment server run:
#with yarn
yarn start
# in other terminal
yarn dev
#with npm
npm run start
#in other terminal
npm run dev
The script build in package json will build just the package for linux system, but you can also change the script, or use other package to build, like electron forge.
#with yarn
yarn build
#with npm
npm run build
So that's all folks, thanks for comming ๐ค.