Phacepook is a social network (Facebook clone) website built with Ruby on Rails.
To run the application locally, you need:
- Ruby
- Rails
- PostgreSQL
- Yarn for Tailwind CSS and Webpacker
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
rails db:create
# Initialize the database
rails db:schema:load
# Optionally, seed the database
rails db:seed
# And start the local web server
rails server
- 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.