Environment Setup
StartOS machine
You will need a computer running StartOS to test your package. Follow the flashing guide to install StartOS on a physical device or VM.
Docker
Docker is needed to convert docker images to StartOS images.
Make
Make is needed to streamline builds and produce s9pk binaries.
NodeJS
NodeJS is needed to compile the Typescript in your StartOS package.
SquashFS
SquashFS is needed to pack the compiled Javascript into a SquashFS file
linux
sudo apt install squashfs-tools squashfs-tools-ng
Mac
brew install squashfs
Start CLI
start-cli is needed to interact with StartOS from the command line.
-
Clone the StartOS repo
https://github.com/Start9Labs/start-os.git
-
Build Start CLI
make cli
-
Initialize Start CLI
start-cli init
This will generate a
.startos
directory inside your home directory. This directory will contain a newly-generateddeveloper.key.pem
, used to sign packages, as well as a defaultconfig.yaml
, which can be edited to customize and streamline your developer experience.