ShehrozIrfan / comment_tree_app

This is the comment tree app using rails, in which the concept of self referential associations is used.
MIT License
7 stars 1 forks source link
active-storage collaborate communityexchange devise github gorails learn open-source rspec ruby ruby-on-rails

Comment Tree App

Features

How to contribute

Visit CONTRIBUTING.md for contribution to this project.

How to Learn

Visit LEARN.md for learning self-referential associations and how it works in Ruby on Rails.

Work with GQL

Setup Details

Ruby version

Setting up storage for images

In this project, I've used the AWS S3 Bucket for storing the user images. If you want the same functionality then you need to create your own S3 Bucket and add the required/relevant keys OR you can just set the storage to local. It is important to set this up for your local machine, otherwise you might face errors while sign_up or other places.

Database creation

To setup the database for this project follow the steps below:

If you ran into issues, follow:

Seed Database

To populate the database with some data use: rails db:seed

Starting the server

How to run the test suite

System dependencies

Configuration

Database initialization

Services (job queues, cache servers, search engines, etc.)

Deployment instructions