by u/12D3KooWBMxyaUmUg5V7RQaSFC8v5iHkbh9pR4Xhvx9BAT5Xa4yi | 13mo ago
i run a few subs that have 99% uptime and it's pretty easy, honestly i have no idea why subs are experiencing downtime aside from maybe they're run from a personal computer. I don't want to disclose my VPS but any VPS should do fine.
I do appreciate your post, I think if we had more guides on these sorts of things we'd see an increase in activity.
So what you want to do is upload the Plebbit-CLI to your server: https://github.com/plebbit/plebbit-cli
If you follow the GitHub instructions they're generally written well enough to walk through. Follow the install instructions. If there's a demand I can do a walkthrough tutorial. Assuming a Linux VPS the path is /.local/share/plebbit. Once installed you can setup your subs, .ens addresses, username, default image and sticky thread, etc.
You'll use the daemon to make sure you're subs are online by running a command like ./plebbit subplebbit list which should show if your subs are online, if not run ./plebbit subplebbit start [subplebbit name].
Now here's one thing that might help to keep it online that I use. tmux. There are other ways to keep it running online in the background but I use tmux. Basically what you want to do once you've installed and set up the CLI and your subs and installed tmux, reconnect to your VPS via ssh and run tmux. Now when you close your CLI all processes you've started should run indefinately. So run tmux, then run the .plebbit subplebbit start [subplebbit] commands. Start all your subs, confirm they're online, close the terminal. Runs indefinitely. Uptime for months. Much love.
2 direct replies
by u/12D3KooWRfiyhwXoozM5rfoJ7CDSf2NM5Yz4VBGYiEDCeL6aNwVM | 13mo ago
Much thanks! Forgot to tag you in the previous post. Your answer is appreciated as well! I'll keep updating the thread with my progress - maybe I'll be able to make a "how-to" on running the sub 101
by Inquisite (u/inquisite.sol) | 13mo ago
Having a docker to run the daemon would solve a lot of pain points, but it is kind of finicky