This is a minimal cloned version of Facebook built in Ruby on Rails.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project runs on Ruby, and Rails
After installation, run ruby -v
to make sure Ruby installed correctly.
Example:
Also, make sure that Rails is installed, but running rails -v
.
Example:
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
Run the server with the following command:
rails s
To run the project tests, run the following command:
rspec
You can deploy the project on Heroku using the following steps:
- Create a Heroku Account
- On the terminal, run
heroku create
to create a new app - Run
git push heroku master
to start a deployment on Heroku. - Run
heroku run rails db:migrate
to run migrations on your production database. - Visit your project URL as assigned by Heroku to see a live deployment of Fakebook.
SunnyAsar 💻 📖 |
Henry Tabima Giraldo 💻 📖 |
This project is licensed under the MIT License - see the LICENSE.md file for details