Skip to content
Quin Kennedy edited this page Sep 10, 2019 · 1 revision

This document was assembled while setting up Spacebrew on a RaspberryPi. It should be applicable to most *NIX systems.

  1. clone/download spacebrew from github
  2. install Node (and NPM)
  3. run npm install in the spacebrew directory
  4. Setup hostname resolution (optional)
    • set the hostname to what you want
      • On RaspberryPi desktop you can do this via menu -> Preferences -> Raspberry Pi Configuration
    • sudo apt-get -y install samba
      • enable support for wins and/or netbios if it asks
  5. sudo systemctl edit spacebrew.service --force --full
  6. fill the file with the following:
    [Unit]
    Description=Spacebrew Server
    
    [Service]
    Type=simple
    ExecStart=/usr/bin/npm start --prefix /home/pi/Documents/spacebrew/
    
    [Install]
    WantedBy=multi-user.target
    
    • change the path at the end of the ExecStart line depending on where you cloned/unzipped to
  7. sudo systemctl enable spacebrew