Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.19 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.19 KB

Project: Fakebook - Minimalistic Social Network

This is a project built with Ruby on Rails

  • The goal is to build a facebook like site.
  • The project was completed using Ruby on Rails, HTML and CSS.

Requirements

Ruby 2.6.3

Installation

Download repository to your local machine, then run

bundle install

Database

The project runs on PSQL. For running this application you must have a default PSQL role WITH LOGIN CREATEDB For altering or creating a PSQL role run the following commands in postgres console

  For Creating a User:
  postgres=# CREATE ROLE role_name WITH LOGIN CREATEDB;
  
  For Altering Existing User
  postgres=# ALTER ROLE "role_name" WITH LOGIN CREATEDB;

Running

Run:

rails server

Rspec

To run rspec at terminal:
  rspec

Authors