Difference between revisions of "Stuff-org"

From Sudo Room
Jump to navigation Jump to search
 
Line 7: Line 7:


== installation ==
== installation ==
* install golang, pull the repository, run make
* make a new user just for stuff-org and websnap
<pre>sudo adduser --disabled-password stuff --comment "stuff-org user"</pre>
* [https://go.dev/dl/ install golang] (as a user with sudo, not as user stuff)
<pre>
<pre>
  sudo apt update && sudo apt install golang-go
wget https://go.dev/dl/go1.24.1.linux-amd64.tar.gz # or current version
  sudo adduser --disabled-password stuff
  sudo tar -C /usr/local -xzf go1.24.1.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.profile
  echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee -a ~stuff/.profile
</pre>
* pull the repository, run make
  sudo su stuff
  sudo su stuff
  git clone https://github.com/sudoroom/stuff-org
  source ~/.profile # idk why i had to do this to get golang to work
  cd stuff-org
cd ; git clone https://github.com/sudoroom/stuff-org
  cd stuff-org/stuff
  git checkout sudoroom
  git checkout sudoroom
  make
  make stuff
</pre>
</pre>
* install nvm so we can have node
* install nvm so we can have node
Line 26: Line 33:
* install websnap (in home directory, not inside stuff-org)
* install websnap (in home directory, not inside stuff-org)
<pre>
<pre>
  git clone https://github.com/jerkey/websnap
  cd ; git clone https://github.com/sudoroom/websnap
  cd websnap
  cd websnap
  npm install
  npm install
</pre>
</pre>

Latest revision as of 16:14, 14 April 2026

sudoroom uses stuff-org written by Henner Zeller to track stuff in the space (and in the community)

Noisebridge-stuff-org.png

installation

  • make a new user just for stuff-org and websnap
sudo adduser --disabled-password stuff --comment "stuff-org user"
 wget https://go.dev/dl/go1.24.1.linux-amd64.tar.gz # or current version
 sudo tar -C /usr/local -xzf go1.24.1.linux-amd64.tar.gz
 echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.profile
 echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee -a ~stuff/.profile
  • pull the repository, run make
sudo su stuff
source ~/.profile # idk why i had to do this to get golang to work
cd ; git clone https://github.com/sudoroom/stuff-org
cd stuff-org/stuff
git checkout sudoroom
make stuff
  • install nvm so we can have node
 wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
 exit
 (now log back in)
 nvm install --lts
  • install websnap (in home directory, not inside stuff-org)
 cd ; git clone https://github.com/sudoroom/websnap
 cd websnap
 npm install