Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

floriandejonckheere/wattson

Repository files navigation

Wattson

Continuous Integration

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.

Screenshot

Installation

Please ensure you have a working Node.js environment. Install the Yarn package manager, then install the project dependencies:

yarn install

Usage

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.

Building

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

License

Copyright 2023 Florian Dejonckheere

Releases

No releases published

Packages

No packages published

Languages