Crates.io | hassium-backend-web |
lib.rs | hassium-backend-web |
version | 0.1.3 |
source | src |
created_at | 2019-09-08 13:46:32.177518 |
updated_at | 2019-09-08 21:05:22.371586 |
description | Web backend module for Hassium home automation engine |
homepage | https://hassium.io |
repository | https://gitlab.com/hassium/smarthome-engine |
max_upload_size | |
id | 163223 |
size | 6,973 |
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