Oddbean new post about | logout
 any flavor linux on any platform arm risc-v amd64 internal local 🐍python🦩 #nostr #relay install / start 🐧 #linuxstr
as xxx
sudo apt install python3.8-venv
python3 -m venv .venv
(venv will create a virtual Python installation in the .venv folder.)
source .venv/bin/activate
which python
/home/xxx/.venv/bin/python
python3 -m pip install --upgrade pip
python3 -m pip --version
python3 -m pip install nostr-relay

start
nostr-relay -c /home/xxx/.venv/lib/python3.8/site-packages/nostr_relay/config.yaml serve
where what?
DB = nostr.sqlite3 (backup elsewhere monthly)
CONFIG = config.yaml change IP to LAN-IP