This post gives a quick and very brief introduction how to use MongoDB with Ruby. We will see how to install and connect to a MongoDB, how to populate the database with fake documents generated in just a couple of lines of code, and how to build some queries to gain insights into the stored documents.
In this post I describe my journey from knowing essentially nothing about Docker to having a dockerized Padrino application with each service living in its own container (more on that below). To find this guide useful, you’d need to have Ruby installed, but no prior experience with Docker.
subscribe via RSS