Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.36 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.36 KB

Phacepook

Phacepook is a social network (Facebook clone) website built with Ruby on Rails.

Requirements

To run the application locally, you need:

Setting up PostgreSQL

The application, by default, uses Unix sockets to connect to a local Postgres database, using the default role name - same as the operating system user. So, you should either create a database user with the same username, or tell the application to use your custom database access info via the config/database.yml configuration file.

Running the app

Download, or clone with git: git clone [email protected]:themetar/odin-facebook.git
Then,

# Install gems
bundle install

# Create the database
bin/rails db:create

# Initialize the database
bin/rails db:schema:load

# Optionally, seed the database
bin/rails db:seed

# And start the local web server
bin/dev

Features

  • User authentication and OAuth with Devise
  • Database ORM with Active Record
  • ERB component partials

Origin

This is the final project assignment of the Odin Project Ruby on Rails course.