Files
start-os/backend
Matt Hill 50111e37da remove product key from setup flow (#1750)
* remove product key flow from setup

* feat: backend turned off encryption + new Id + no package id

* implement new encryption scheme in FE

* decode response string

* crypto not working

* update setup wizard closes #1762

* feat: Get the encryption key

* fix: Get to recovery

* remove old code

* fix build

* fix: Install works for now

* fix bug in config for adding new list items

* dismiss action modal on success

* clear button in config

* wip: Currently broken in avahi mdns

* include headers with req/res and refactor patchDB init and usage

* fix: Can now run in the main

* flatline on failed init

* update patch DB

* add last-wifi-region to data model even though not used by FE

* chore: Fix the start.

* wip: Fix wrong order for getting hostname before sql has been
created

* fix edge case where union keys displayed as new when not new

* fix: Can start

* last backup color, markdown links always new tab, fix bug with login

* refactor to remove WithRevision

* resolve circular dep issue

* update submodule

* fix patch-db

* update patchDB

* update patch again

* escape error

* decodeuricomponent

* increase proxy buffer size

* increase proxy buffer size

* fix nginx

Co-authored-by: BluJ <mogulslayer@gmail.com>
Co-authored-by: BluJ <dragondef@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
2022-09-07 09:25:01 -06:00
..
2022-09-01 10:32:01 -06:00
2022-07-20 13:42:54 -06:00
2022-01-21 20:35:52 -07:00
2022-07-21 15:18:44 -06:00
2022-07-21 15:18:44 -06:00
2022-01-21 20:35:52 -07:00
2022-06-16 15:58:48 -06:00
2022-01-27 12:34:06 -07:00
2022-01-21 20:35:52 -07:00
2022-09-01 10:32:01 -06:00
2022-01-21 20:35:52 -07:00

EmbassyOS Backend

  • Requirements:
  • Scripts (run withing the ./backend directory)
    • build-prod.sh - compiles a release build of the artifacts for running on ARM64
    • build-dev.sh - compiles a development build of the artifacts for running on ARM64
  • A Linux computer or VM

Structure

The EmbassyOS backend is broken up into 4 different binaries:

  • embassyd: This is the main workhorse of EmbassyOS - any new functionality you want will likely go here
  • embassy-init: This is the component responsible for allowing you to set up your device, and handles system initialization on startup
  • embassy-cli: This is a CLI tool that will allow you to issue commands to embassyd and control it similarly to the UI
  • embassy-sdk: This is a CLI tool that aids in building and packaging services you wish to deploy to the Embassy

Finally there is a library embassy that supports all four of these tools.

See here for details.

Building

You can build the entire operating system image using make from the root of the EmbassyOS project. This will subsequently invoke the build scripts above to actually create the requisite binaries and put them onto the final operating system image.

Questions

If you have questions about how various pieces of the backend system work. Open an issue and tag the following people

  • dr-bonez
  • ProofOfKeags