A modular dashboard for Ruzinovsky Habitat monitoring.
git clone https://github.com/viktorsec/dahsboard.git
yarn
to install dependenciesyarn start
to start dev environment
You will need Node and Yarn. If you don't already have them, do this on macOS:
- Get Homebrew package manager:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Node:
brew install node
- Install Yarn:
brew install yarn
yarn global add serve
(install serve)yarn run build
(build)serve -s build
(deploy)
Your app will be available on your network on {HOST_IP}:5000
.
- Get Now
yarn run build
cd build && now --public
yarn run build
scp -r build/* pi@192.168.2.66:/var/www/html
- press ctrl+shift+R on Pi
Don't use API keys outside of safe environments. They are not secure.
cd src/config && cp apiKeys.jsx.template apiKeys.jsx
- Set IFTTT API key.
- Set Apixu API key.
yarn test
Based on One Dark Vivid Pro theme for VS Code. (source)
This project was bootstrapped with Create React App. See readme.