Skip to content

Repository files navigation

Build and run

Environment

Create a .env file with the following content and fill in the values.

PORT=7000

PANDASCORE_TOKEN=<token>

Manually

npm install
npm run build && npm run start

Docker

Don't forget to edit the run command to adapt to your port (the first port is the one exposed by the container, the second is the one used by the app).

docker build -t pam-hapi .
docker run -d -e .env --name pam-hapi -p 7001:7000 pam-hapi

You can also clone the docker image from github and launch your app locally.

docker pull ghcr.io/pa-martin/pam-hapi
docker run -d -e .env --name pam-hapi -p 7001:7000 ghcr.io/pa-martin/pam-hapi

About

Personal API for Home Assistant

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages