Skip to content

Instantly share code, notes, and snippets.

View WR-96's full-sized avatar

Williams Estrada WR-96

  • México
View GitHub Profile
@WR-96
WR-96 / rails-setup.md
Last active December 23, 2022 00:11
Setup a login application with Rails, PostgreSQL and Devise

Setup a login application with Rails, PostgreSQL and Devise

This guide shows the way I did to make a simple login app using Ruby on Rails with PosgreSQL and Devise. Some commands show in here may differ depending on your operation system. This guide was made using Ubuntu 18.04, Ruby 2.5.1, Rails 5.2.1, PostgreSQL 10.5, and Devise 4.5

Install Ruby

If you don't have already installed there are several ways to do so, just go to the ruby install page.

For Debian/Ubuntu run sudo apt-get install ruby

Install Rails

Once you have install Ruby on your computer the next step is to install the rails gem install rails