Wattson is a smart energy assistant for the RESPONSE2020 High-Level Energy Management System (HL-EMS) project.
Navigate to https://wattson.dejonckhee.re to access the application.
Please ensure you have a working Node.js environment. Install the Yarn package manager, then install the project dependencies:
yarn install
Run the development server:
yarn dev
The application will be available at http://localhost:5137.
The API server is proxied through the development server to mitigate CORS issues.
To change the API server address, change the IP address in vite.config.ts
.
For your convenience, a Dockerfile is provided to build a production-ready image. The image uses NGINX to serve the static files, and proxy API requests to the API server.
To build the image, run:
docker build -t wattson .
To run the image, run:
docker run -p 80:80 wattson
Copyright 2023 Florian Dejonckheere