Ayush

@ayushn21.bsky.social

Pink Floyd and Steven Wilson addict. Test cricket enthusiast. Author of The Rails and Hotwire Codex. @bridgetownrb.com core. I write Ruby for money. ✍️ https://binarysolo.blog 📝 https://railsandhotwirecodex.com 📸 https://fslash42.com

Never expose #PostgreSQL, #Redis, or similar private services to the internet. Always connect to them via a UNIX socket, or over a private cloud network. However, if you must access them via the internet, secure them with a self-signed certificate. Here's how:

Generating self-signed certificates for web services

Private web services such as PostgreSQL or Redis shouldn't be exposed to the internet. This keeps them secure, as they can only be accessed via an SSH session to the machine...

binarysolo.blog

Never expose #PostgreSQL, #Redis, or similar private services to the internet. Always connect to them via a UNIX socket, or over a private cloud network. However, if you must access them via the internet, secure them with a self-signed certificate. Here's how:

Generating self-signed certificates for web services

Private web services such as PostgreSQL or Redis shouldn't be exposed to the internet. This keeps them secure, as they can only be accessed via an SSH session to the machine...

binarysolo.blog

#Rails hides a lot of Ruby language details, and provides a conventional structure for several things. This is all done for very good reason, but it also means developers may not learn how to use bare Ruby.

Here's how I setup PostgreSQL for Scattergun (and for all my future Rails apps) I've burnt my fingers too many times with PaaS providers going to shit, so I'm going to self-host everything going forward. binarysolo.blog/postgresql-s...

PostgreSQL server setup for Rails apps

Following on from my series on Ruby app deployment, in this post, I'll cover the installation and setup of PostgreSQL for Ruby and Rails apps. We'll discuss how to install, secure, and backup PostgreS...

binarysolo.blog

Ayush@ayushn21.bsky.social · 4w ago

I've finally migrated @scattergun.email to my own server ... Render.com was just quite shit with what you get for the money, all PaaS are I think. As part of this I built Mimas to help deploy Ruby apps with ease.

Mimas is the result of all the research covered in the below blog series. It's a CLI tool that automates Ruby deployment end-to-end, from securing the server, to installing required software, to log rotation, and everything in between.

mimas

Deploy static sites and Ruby apps to a single server using an opinionated setup

codeberg.org

Ayush@ayushn21.bsky.social · 2mo ago

I've spent the last few weeks experimenting with various setups for deploying #Ruby apps to a server. Here's my first blog post in a series where I'll describe what I've come up with. Most tutorials gloss over details like security and user management. I'm going for as much detail as possible!

Bridgetown's deployment story for apps with both static content and Roda routes hasn't been great, until now! Deploy your static sites and routes side-by-side on the same server using Mimas and its official Bridgetown plugin!

Ayush@ayushn21.bsky.social · last mo.

Mimas is the result of all the research covered in the below blog series. It's a CLI tool that automates Ruby deployment end-to-end, from securing the server, to installing required software, to log rotation, and everything in between.

Mimas is the result of all the research covered in the below blog series. It's a CLI tool that automates Ruby deployment end-to-end, from securing the server, to installing required software, to log rotation, and everything in between.

mimas

Deploy static sites and Ruby apps to a single server using an opinionated setup

codeberg.org

Ayush@ayushn21.bsky.social · 2mo ago

I've spent the last few weeks experimenting with various setups for deploying #Ruby apps to a server. Here's my first blog post in a series where I'll describe what I've come up with. Most tutorials gloss over details like security and user management. I'm going for as much detail as possible!

I've spent the last few weeks experimenting with various setups for deploying #Ruby apps to a server. Here's my first blog post in a series where I'll describe what I've come up with. Most tutorials gloss over details like security and user management. I'm going for as much detail as possible!

Server setup for Ruby web applications

The ease of using Heroku and other similar platforms means a generation of developers, including me, have never really needed to setup and manage servers during our career. As such, I was a bit afraid...

binarysolo.blog

I don't think I've ever been this emotionally disinvested in any of the England Men's cricket teams ... I've almost found myself wanting England to get battered so we can see the end of McCullum and Key ... such a shambles, and a crying shame that Stokes was the first to go.

Bridgetown 2.2 "Verdant River City" is out! It's a springtime bloom of new features: - Wikilinks in Markdown - Support for Falcon, the highly concurrent Ruby web application server - New sponsorship opportunities - Sneak peak at the Bridgetown Center program 👀

Everyone Deserves a Wiki: Bridgetown 2.2 is Here

Wikilinks in Markdown, support for Falcon the highly concurrent Ruby web application server, performance enhancements, bugfixes, and more!

bridgetownrb.com

Bridgetown 2.2 "Verdant River City" is out! It's a springtime bloom of new features: - Wikilinks in Markdown - Support for Falcon, the highly concurrent Ruby web application server - New sponsorship opportunities - Sneak peak at the Bridgetown Center program 👀 www.bridgetownrb.com/release/ever...

Everyone Deserves a Wiki: Bridgetown 2.2 is Here

Wikilinks in Markdown, support for Falcon the highly concurrent Ruby web application server, performance enhancements, bugfixes, and more!

bridgetownrb.com