Skip to content
A minimal facebook clone in rails
Ruby HTML CSS CoffeeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
docs
lib
log
public
spec
storage
tmp
vendor
.all-contributorsrc
.byebug_history
.gitignore
.rspec
.ruby-version
.stickler.yml
Gemfile
Gemfile.lock
LICENSE.md
README.md
Rakefile
config.ru
factories.rb
package-lock.json
package.json
yarn.lock

README.md

Faceverse

This is a minimal cloned version of Facebook built in Ruby on Rails.

faceverse screenshot

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This project runs on Ruby, and Rails

After installation, run ruby -v to make sure Ruby installed correctly. Example:

ruby version example

Also, make sure that Rails is installed, but running rails -v. Example:

rails version example

Installing

clone the repo and go to the project directory:

git clone https://github.com/SunnyAsar/faceverse
cd faceverse

setup database:

rails db:create

Install gems:

bundle install

Populate development data:

rails dev:populate

Start the development server

Run the server with the following command:

rails s

Running Tests

To run the project tests, run the following command:

rspec

Deploy on Heroku

You can deploy the project on Heroku using the following steps:

  1. Create a Heroku Account
  2. On the terminal, run heroku create to create a new app
  3. Run git push heroku master to start a deployment on Heroku.
  4. Run heroku run rails db:migrate to run migrations on your production database.
  5. Visit your project URL as assigned by Heroku to see a live deployment of Fakebook.

Contributors

SunnyAsar
SunnyAsar

💻 📖
Henry Tabima Giraldo
Henry Tabima Giraldo

💻 📖

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Entity Relation Diagram (ERD)

ERD

You can’t perform that action at this time.