| scripts | ||
| .env.example | ||
| .gitignore | ||
| config.json | ||
| deno.json | ||
| README.md | ||
Raspberry Pi Setup
Repository to automatically setup raspberry pi img for the Gowest.
Requirements
-
rpi-imager: Official Raspberry Pi Imager.
Make sure
rpi-imageris in your path# linux sudo apt install rpi-imager # windows winget install --id=RaspberryPiFoundation.RaspberryPiImager # macos brew install --cask raspberry-pi-imager -
deno: Scripts and task runner.
# linux curl -fsSL https://deno.land/install.sh | sh # windows winget install --id=DenoLand.Deno # macos brew install deno
Usage
- Fill your
.envfile (see.env.example) or pass env through cli. - Check and/or edit the
config.jsonfile. - Run
deno task setupto automatically flash drive for your Gowest.
setup task run the following tasks in order:
setup:prepare: Build img install script (create users, set hostname, set wifi, set ssh, ...).setup:image: Download and unzip img.setup:flash: Flash boot drive with img and install script.setup:clean: Clean all builds outputs.
Additionally you can run tasks individually if you already have done one.