Crates.io | hassium-core |
lib.rs | hassium-core |
version | 0.1.3 |
source | src |
created_at | 2019-09-08 13:39:01.790609 |
updated_at | 2019-09-08 21:02:30.825187 |
description | Core module for Hassium home automation engine |
homepage | https://hassium.io |
repository | https://gitlab.com/hassium/smarthome-engine |
max_upload_size | |
id | 163211 |
size | 56,183 |
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