- nodejs & nvm to activate and manage multiple node versions
- python 3+ and a python version manager such as pyenv or conda
- bash friendly terminal
-
Install development tools for your OS
sudo pacman -Sy base-devel
- Arch flavorssudo yum groupinstall "Development Tools" "Legacy Software Development"
- Fedorasudo apt-get install build-essential
- Debian / Ubuntu & friends- Get homebrew - for MacOS
- Native Windows - on your own, for WSL, use any of the Linux guides above!
-
Install nvm - for managing multiple node versions, this project uses version pinning, because OS package-manager provided nodejs is usually not proper for development.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Don't forget to setup your shell environment as described by nvm.
-
Install the PM tool invoke - this is to support automation and fast REPL development environment.
pip install -r support/requirements.txt
inv prepare
- Fetch all dependencies using
inv start
- To start development servers
inv build
- Compiles assets
inv bundle
- Creates application bundles
inv release
- Compiles assets and creates application bundles with production settings
-
Ensure flatpak builder is installed:
sudo apt-get install -y flatpak flatpak-builder elfutils flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo git config --global --add protocol.file.allow always
-
Ensure
flatpak
user repos exist:flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
-
Ensure
rpm
tooling is available:sudo apt-get install rpm
-
Ensure
libarchive-tools
is installed to be able to createpacman
packagessudo apt-get install -y libarchive-tools
-
Start API as socket (
socketPath
for axios)podman system service --time=0 unix:///tmp/podman.sock --log-level=debug
-
Test socket api
curl --unix-socket /tmp/podman.sock http://d/v3.0.0/libpod/info
-
Start API as http server - HTTP api is only for development - insecure!
podman system service tcp:localhost:8081 --time=0 --log-level=debug --cors="*"
-
Test http api
curl -X GET http://localhost:8081/v3.0.0/libpod/info
podman system connection add default "//wsl.localhost/Ubuntu-24.04/home/$USER/.ssh/id_rsa" --socket-path "\wsl.localhost\Ubuntu-24.04\mnt\wslg\runtime-dir\podman\podman.sock"
podman system connection ls
ssh -nNT -L/tmp/podman.sock:/run/user/1000/podman/podman.sock -i ~/.ssh/podman-machine-default ssh://core@localhost:[PORT]
export DOCKER_HOST='/tmp/podman.sock'