...
- Installing Habitat
- Install SPARC packages
- Configuration
- Run
Install Habitat
Create habitat user and group
sudo adduser --group hab
sudo useradd -g hab hab
Install habitat binary using curl bash
curl https://raw.githubusercontent.com/habitat-sh/habitat/master/components/hab/install.sh | sudo bash
Create habitat user and group
It doesn't strictly matter how you do this, but these instructions should work on all platforms
sudo hab pkg install core/busybox
sudo hab pkg exec core/busybox addgroup hab
sudo hab pkg exec core/busybox adduser hab -G hab
Install SPARC packages
Install the package
...
sudo mkdir -p /hab/user/sparc-request/config
sudo cp $(hab pkg path chrisortman/sparc-request)/default.toml /hab/user/sparc-request/config/user.toml
...
sudo mkdir -p /hab/svc/sparc-request/data
sudo touch /hab/svc/sparc-request/data/migrate
...