Skip to content

EstebanAO/lab-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Esteban Arocha
May 7, 2019
05885e2 · May 7, 2019
May 7, 2019
Feb 16, 2019
May 2, 2019
Mar 21, 2019
Feb 16, 2019
Feb 16, 2019
Feb 16, 2019
Feb 16, 2019
Apr 14, 2019
Feb 16, 2019
Feb 16, 2019
Mar 22, 2019
Feb 26, 2019
May 2, 2019
May 2, 2019
May 7, 2019
May 7, 2019
Feb 16, 2019
Mar 19, 2019
Feb 16, 2019
Feb 16, 2019
Mar 12, 2019

Repository files navigation

README

Install ruby 2.6.1

Install rails 5.2.2.1

Install postrgress

Download master branch from https://github.com/EstebanAO/lab-web

Open the terminal and go to the folder of the project

In config file create a file named application.rb with the following information:

POSTGRES_USER: postgres WEB-ITESM_DATABASE_PASSWORD: some_password POSTGRES_HOST: db REDIS_URL: redis://@redis/0

In terminal:

Run: rails db:create

Run: rails db:migrate

Run: rails server

Create a new user according to the users manual

In another terminal run: rails console

In rails console run: u = User.first

In rails console run: u.admin = true

In rails console run: u.save

In rails console run: quit