Difference between revisions of "Stuff-org"

From Sudo Room
Jump to navigation Jump to search
(Created page with "== sudoroom uses stuff-org written by Henner Zeller to track stuff in the space (and in the community) == thumb * Noisebridge [https://parts.noisebridge.net runs a version of this] but you can only edit if you're on the local network * [https://github.com/sudoroom/stuff-org/tree/sudoroom we use a fork of the main repository, branch "sudoroom"] * we use [https://github.com/jerkey/websnap websnap] to update the images '''make sure this c...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


== installation ==
== installation ==
* install golang, pull the repository, run make
* make a new user just for stuff-org and websnap
<code>
<pre>sudo adduser --disabled-password stuff --comment "stuff-org user"</pre>
  sudo apt update && sudo apt install golang-go
* [https://go.dev/dl/ install golang] (as a user with sudo, not as user stuff)
  sudo adduser --disabled-password stuff
<pre>
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
</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
</code>
</pre>
* install nvm so we can have node
<pre>
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
exit
(now log back in)
nvm install --lts
</pre>
* install websnap (in home directory, not inside stuff-org)
<pre>
cd ; git clone https://github.com/sudoroom/websnap
cd websnap
npm install
</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