All Posts
-
How to Deploy a Rails app to Ubuntu with Dokku in 2023, March 18, 2022
In this guide, I will introduce how to deploy a Ruby on Rails app from scratch with the Dokku open source program. This guide aims at beginners who are passionate about deploying their Ruby on Rails applications to the Internet. -
How to Control Chipsee PC Backlight with Python and Browser, March 21, 2023
Today let's see how we can adjust the screen backlight of a Chipsee industrial Pi PC. -
How to Control Chipsee PC Buzzer with Python and Browser, April 13, 2023
Today let's see how we can control the builtin buzzer of a Chipsee industrial Pi PC. -
How to Deploy a Rails app to Raspberry Pi with Docker in 2024, September 07, 2024
Rails new gives me a good default, including a Dockerfile. But how to deploy this docker image to a Linux host with minimum changes? -
Enable HTTPS for Rails App with acme.sh and Letsencrypt, September 08, 2024
Now I have a running Rails app, how to issue an HTTPS cert for it? -
Move Active Storage From Cloud to Local, and then to Another Cloud, September 12, 2024
I used to store active storage objects images in an S3-like service, later I tested serving them from local machine, and finally I migrated them to another S3 service provider. Here is how. -
A Ruby Script to Deploy Rails Docker App to Hetzner, September 14, 2024
Kamal is good, but manual deploying Docker image is also interesting. How about writing a script to automate this process? What's even better, use Ruby instead of Bash!