Member-only story

Getting Started With Rails Part 1

Steven Klavins
6 min readMay 10, 2020

I am writing this post in order to reaffirm my understanding of the Rails framework, I am going to build from scratch the “Getting started with Rails” article app and document the process. Please refer to the link provided above for the official rails tutorial, I will cover most of what is in there however I am going to make a few additional modifications too. This tutorial is written with the assumption you are using a Unix based system and terminal ie Mac OS/Linux.

  1. Ensure Rails and Ruby are installed on your system You can manage your Ruby versions via the RVM (ruby version manager), before installing Rails you need to have the following on your system.

Once you have installed everything to get the Rails framework you will need to run the following command.

$ gem install rails

2. Create a Rails project

To make a new rails project it’s super easy, you simply navigate to a directory you would like to use and run the command below, I'm going to call my project “on-the-rails”.

$ rails new on-the-rails --database=postgresql

The additional — database=postgresql configures our project to use PSQL appose to Ruby on rails SQLite, this is not necessary however I’d recommend it as SQLite is not commonly shipped with production code. For more information on getting this up and running…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Steven Klavins
Steven Klavins

Written by Steven Klavins

Hi, I’m Steven, most call me Steve! I’m a programmer, musician, and artist. This blog contains various tutorials and posts related to software development.

No responses yet

Write a response