Skip to content

AnthonyTC89/Facebook_Like

Repository files navigation

FACEBOOK CLONE

Project Create with Ruby on Rails

Live Demo . Report Bug · Request Feature


Screenshot

Table of Contents

About The Project

This project is part of the course The Odin Project. The goal of the project is to apply our knowledge of Ruby on Rails to build a Social Network that allows interactions between users, including the ability to create and send posts, comments and likes.

Built With

Installation

  1. clone the repository Facebook_Like
  2. Run sudo apt-get install libpq-dev [optional] (You need to have installed the postgreSQL dev package with header of PostgreSQL)
  3. cd in the app folder and run bundle install
  4. run yarn install --check-files if it's necessary
  5. run rails db:create && rails db:migrate * (If there are problems with the service of postgresql check DB Section)
  6. run rails server
  7. go to localhost:3000

-> If you launch the rails server and receive an error message:

  • Run psql facebook
  • Run \conninfo
  • Check if the port is the same as in the development session on ~/config/database.yml.
  • Change to the port displayed on \conninfo if needed.

DataBase Setup

  1. Run: sudo apt-get update && sudo apt-get install postgresql
  2. Run: sudo service postgresql start
  3. Run: sudo -i -u postgres
  4. Run: psql
  5. Run: CREATE USER rails with encrypted password 'rails'; (with semicolon)
  6. Run: ALTER USER rails createdb;

Future Features

  • Improve overall design
  • Add two-step authentication
  • Add groups and events

Testing

  1. In the root folder run: rspec

Future Features

  1. Use AWS Store to include Images in posts.
  2. Create a link to recover the password account.
  3. Generate a link to confirm the account.
  4. Improve styling.

Contact

About

Facebook-like social network application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published