This Electron app is based on the electron-react-boilerplate, check it if you need more informations.
It ships with React, Redux, React Router, Webpack, React Transform HMR .
- Note: requires a node version >= 6 and an npm version >= 3.
Ubuntu ships with an old node version. Run these commands to update to Node 7.x :
curl -sL https://deb.nodesource.com/setup_7.x | sudo bash -
sudo apt-get install nodejs
First, clone the repo via git:
git clone [email protected]:lhall-adexos/LogSwarm.git LogSwarm
And then install dependencies. ProTip: Install with yarn for faster and safer installation
$ cd LogSwarm && npm install
Run these two commands simultaneously in different console tabs.
$ npm run hot-server
$ npm run start-hot
or run two servers with one command
$ npm run dev
Before jumping in, you might want to have a look at the following resources :
- Photon (CSS library)
- Request (Simple HTTP client library)
- What is JSX
- Graylog API