372
edits
| Line 7: | Line 7: | ||
== installation == | == installation == | ||
* install golang, | * 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 | wget https://go.dev/dl/go1.24.1.linux-amd64.tar.gz # or current version | ||
sudo | 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/ | cd ; git clone https://github.com/sudoroom/websnap | ||
cd websnap | cd websnap | ||
npm install | npm install | ||
</pre> | </pre> | ||