Make sure to check out electron-webpack's documentation for more details.
-
Create an Unsplash Account Developer account - https://unsplash.com/developers
-
Clone This Repository
git clone https://github.com/rafh/janela.git
cd janela
- Create an
.env
file - Once this is created the following props
NODE_ENV=
API_KEY=
- install dependencies - The use of the yarn package manager is strongly recommended, as opposed to using
npm
.
yarn
# run application in development mode
yarn dev
# compile source code and create webpack output
yarn compile
# `yarn compile` & create build with electron-builder
yarn dist
# `yarn compile` & create unpacked build with electron-builder
yarn dist:dir