Digital Ocean offers 2 types of droplets (servers):
- Droplets with a clean Linux install.
- Droplets with some application preinstalled: “One-click apps”
Let’s have a look at the One-click Rails installation they offer. I’ll describe what you get and what I like about, what I don’t like about it and I’ll give some tips on how to use it.
“Welcome to One-click apps, what do they do? Do they do things? Let’s find out!”
Continue reading “Is Digital Ocean’s One-click app for Ruby on Rails any good?”
There are a lot of ways to deploy an app to a server, here is a simple one that I often use. This can be a bit confusing if you are not familiar with Git but I promise it’s the easiest way!
It works like this: you create an empty git repository on the server and you push the branch you want to this reposity from your development machine. The repository on the server has a little script (hook) that puts the files in the right directory (‘rails_project’) and runs all the bundle commands. You end up with 2 directories: the bare repository and the ‘checkout’ with the project. Continue reading “Use a git-hook to deploy your app”
It sounds convenient right? Install a server once and every time you build an app you add it to the server. If you update something on the server it will be updated for all the apps at the same time. Which may save you time and money.
Is it hard to install multiple apps on the same server? No not at all. Will it save you time setting things up? Yes. Will it make you happy in the long run? No!
Continue reading “Why you shouldn’t run two Rails apps on the same server”