This document describes the process for running this application on your local computer.
- node.js > 18
- yarn > 1.22
You can configure laskakit-data-feeder/.env
to simulate options from Homeassistant. (At least LASKAKIT_URL
)
git [email protected]:radoslavirha/ha-addon-laskakit-data-feeder.git
cd ha-addon-laskakit-data-feeder
yarn install # install husky and commitlint
cd laskakit-data-feeder
yarn install
yarn start
You should now have a running server on localhost:8000.
When you're ready to stop your local server, type Ctrl+C in your terminal window.
Runs eslint on code:
cd laskakit-data-feeder
yarn lint
cd laskakit-data-feeder
yarn build
When server is built, you can start it in production mode (suitable for HA add-on in docker) (requires env variables):
cd laskakit-data-feeder
yarn start:prod