Crates.io | hassium-network-backend-desktop |
lib.rs | hassium-network-backend-desktop |
version | 0.1.3 |
source | src |
created_at | 2019-09-08 13:43:48.373252 |
updated_at | 2019-09-08 21:07:32.595432 |
description | Network Desktop backend module for Hassium home automation engine |
homepage | https://hassium.io |
repository | https://gitlab.com/hassium/smarthome-engine |
max_upload_size | |
id | 163218 |
size | 11,086 |
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
:
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:
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:
hassium-ignite new 'project-name' -d /path/to/parent/
npm start
/dist
folder):npm run build
cargo build --all