How to create and push a tag using git
This minipost will guide you through all the required steps to create and push a git tag
. Tags are really important in development as they mark specific versions of the developed software project.
This minipost will guide you through all the required steps to create and push a git tag
. Tags are really important in development as they mark specific versions of the developed software project.
This minipost will guide you through all the required steps to successfully uninstall a specific version of Rails from your development system. Trying only to uninstall gem rails
is not sufficient, you also need to uninstall gem railties
.
Sometimes, depending on what you are willing to do, especially when your deployment process is via git
, you want to redeploy your application to the remote server, but there are no local changes on the repository to git push
.
This minipost will guide you through the process of updating a production application running on the Heroku platform to the latest stack via heroku cli. It is a straight forward process and we will use an empty commit with a relevant message to track the upgrade in history.
This minipost will explain in detail the difference between the lower case %w
and the uppercase %W
percent string literals in Ruby on string interpolation cases and escape sequences.
This minipost will guide you through all the required steps to delete a git tag
that has been already push
-ed to the git remote origin.
This minipost contains the command to real-time tail -f
your production application logs on a Heroku server.
This minipost will guide you through all the required steps to successfully install Ganache on Ubuntu 18.04 LTS (Bionic Beaver) from an AppImage.
This minipost will guide you through all the required steps to successfully install Apache JMeter on Ubuntu 18.04 LTS (Bionic Beaver).
This minipost will guide you through all the required steps in order to successfully install pagy gem for pagination on a Ruby on Rails application using a custom HTML template.
One tricky part in terms of its syntax, is the interpolation of a Ruby Symbol. This minipost aims to demonstrate Ruby Symbol interpolation and also how to add a space between two seperate words on a Ruby symbol declaration.
When you get the rbenv: bundle: command not found
error it is most likely the case that you have installed a new Ruby version and you are trying to run a bundle
command inside an existing project directory. For every new Ruby version you install, you also need to install the Bundler gem. This minipost will help understanding the case.
This minipost will guide you through the process of capturing, downloading and restoring the live production pg dump to your local development machine in order to sync our development database with the production latest. Commands from the Heroku toolbelt and the pg_restore
command will be used.
This minipost will guide you through all the required steps in order to successfully perform an advanced installation of Sentry on a Ruby on Rails application for production environment monitoring.
This minipost will guide you through all the required steps needed in order to successfully deploy a sidekiq service on a Ruby on Rails application. We will focus on herokuish servers, try to cover both Heroku and Dokku implementations, that are pretty much the same.
When your Ruby on Rails project does not have any form of user authentication, not using devise, or any custom authentication and you need to secure your SIdekiq UI, you can add Sidekiq Basic HTTP Authentication from the application’s routes to the mounted Sidekiq engine.
This minipost contains the easy command to tail -f
your production application logs on a dokku server.
It is a good practice to avoid using the root
user for deployments on production servers. This minipost will guide you through the process of creating a new deploy
user and associating development machine’s SSH public key for authentication. This guide is a very good initial Ubuntu server setup for a production server.
When deploying on a dokku server with herokuish
and default buildpacks, If your Ruby on Rails application was bundled with Bundler version 2+, your console might throw the following error You must use Bundler 2 or greater with this lockfile
, resulting in deployment failure. This minipost will demonstrate, how to configure a buildpack for a Ruby on Rails project on a dokku server, that can handle Bundler version 2+ and successfully deploy the application.
Dokku provides limited support to the app.json
manifest file, that describes the web application in a heroku environment. This minipost, with demonstrate the required setup in order to run the Rails migrations upon deployment using app.json
file on a dokku server.