Site.js ❤️ Owncast: one-command / 30 second production installs #935
Replies: 4 comments 8 replies
-
This is so cool, I'm blown away! This will be a fantastic option for people don't already have a SSL proxy setup. I can't wait to play with this tonight and update our documentation to add a dedicated page for installing and running via this method. People will love it! |
Beta Was this translation helpful? Give feedback.
-
Quick update: I just released Site.js 16.4.1 which should now actually make the single-command installation work on any server without the need to install any other dependencies (previously the installation would fail if curl and unzip were not present on the system). (I ported the installation script itself to Node.js instead of using the regular bash script.) |
Beta Was this translation helpful? Give feedback.
-
my error: |
Beta Was this translation helpful? Give feedback.
-
@obaviet What version of Owncast are you trying to run? |
Beta Was this translation helpful? Give feedback.
-
So yesterday, I enabled proxy servers in production on Site.js so it could be used for Owncast deployments.
Today, I’ve simplified to process of installing and securely running Owncast on a plain vanilla production server to two commands:
wget -qO- https://sitejs.org/install | bash
site enable --owncast
This is how I just installed Owncast in under 30 seconds for us at Small Technology Foundation at https://owncast.small-tech.org.
What this does:
As usual, your Let’s Encrypt certificates will be automatically provisioned when you first hit your Owncast instance and renewed automatically for you from there on in.
Note that currently, while Site.js will get automatic updates, Owncast will not. However, newer versions of Site.js will always install the latest release version of Owncast. So, to update Owncast, simply disable and re-enable your server using the command above.
💕️
Wanted you folks to be the first to know.
As I mentioned earlier, Owncast is a Small Web (single-tenant) app and we should embrace what that means in terms of simplicity and the doors that opens. Making installation not 30 minutes but 30 seconds is an orders of magnitude improvement. It means that one day having your own Owncast server could be as easy as signing up for your own Twitch account.
And that’s when we win :)
Lots of love to you and can’t wait to talk about this and more when Gabe’s our guest on next month’s Small is Beautiful. We also have one tomorrow where we’ll be looking into this week’s National Rail accessibility fail and how it ties into tracking scripts, etc. (and I’ll of course be mentioning this too).
Take care + can’t wait to see where this goes!
Beta Was this translation helpful? Give feedback.
All reactions