π Set up ChromeOS and RaspberryPi.
# Run this on the installation target: π©βπ»
curl https://raw.githubusercontent.com/perguth/setup/master/README.md | sudo shsetup user@target
# Be fast and repeatable!
# Update if already set up!- Preferably do all user promts before running blocking system calls to execute eg.
apt. - Sane
-y/--yesoption. Else aChoose [ YES / no ]mechanism like provided byapt. - Summary and relevant information in the end (eg. Ygg address).
- Use terminal-menu for UI.
- Run update segments (eg. docker) in async processes but instead of callback or promise use nanobus.
- Mutate and persist internal state using a nanobus.
- Provide standard NPM commands. Use the NPM libs
debug,per-envandnodemon. Surpassstandard! Yes, you can! ποΈ - Keep code lean, avoid folders and
else. Keep filesize between ~50 and 500 lines. Scope temporary variables and return often and always π smirk! - The internal API should expose
/updateand/upgradecalls likeaptdoes. Interface definition needs to be followed. - Prefer nanostack, server-router and Choo.
β¨ Yep! Use a node REST server to provide a interface to a sh shell that then executes Bash.