Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Installing Habitat
  2. Install SPARC packages
  3. Configuration
  4. 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

...