React app that controls lights in the house
Clone the repository locally. The only two requirements are Docker Engine and Docker Compose.
This application depends on the hue-remote
project to work. Once that is set up, you're going to want a URL and the token that you're using.
The first thing necessary is to create a .env
file using the example. A copy of it can be created using cp .env.example .env
. You also need a JWT token and an issuer name and expiration time. If you don't wanna use Docker Compose, you'll also need a redis instance running somewhere.
Run the app using docker-compose up -d
. This will start the entire service in the background. The compose file is automatically configured to restart the services.
For development purposes, docker-compose up --force-recreate --build
might be better. This will display the service logs live in the terminal. It will also force the containers to be recreated and built.