Phacepook is a social network (Facebook clone) website built with Ruby on Rails.
To run the application locally, you need:
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.
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
- User authentication and OAuth with Devise
- Database ORM with Active Record
- ERB component partials
This is the final project assignment of the Odin Project Ruby on Rails course.