node.js
with npm
tools installed (https://nodejs.org/)wasm-pack
toolset installed (https://rustwasm.github.io/wasm-pack/installer/)hassium-ignite
application installed (from project repository releases)Create a new Hassium home automation engine project with hassium-ignite
:
bash
cd /path/to/parent/
hassium-ignite new 'project-name'
Which will create a new home automation project using defaults (the web-composite-smarthome
preset.)
Then you have to go to your project directory and run npm install
to install all nodejs dependencies.
Note, You can also create projects with different presets:
desktop-headless-smarthome
(a backend, server-like project without graphics.)
example:
bash
cd /path/to/parent/
hassium-ignite new 'project-name' -p desktop-headless-smarthome
You can also specify the directory in which to create the new project:
bash
hassium-ignite new 'project-name' -d /path/to/parent/
bash
npm start
/dist
folder):
bash
npm run build
bash
cargo build --all