karam084 / blog_app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog Application Ruby Rails

This project is a blog that allows the user to create posts, comment, and like them. The whole project is based on the ERDiagram below:

blog_app_diagram

Built With

  • Ruby (programming language)
  • Rails (framework)
  • PostgreSQL (database)
  • Linters: Rubocop
  • Linters: Stylent
  • Visual Studio Code (code editor)
  • RSpec (testings)

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • A web browser like Google Chrome.
  • A code editor like Visual Studio Code with Git and Ruby.

You can check if Git is installed by running the following command in the terminal.

$ git --version

Likewise for Ruby installation.

$ ruby --version && irb

Setup

Clone the repository using the GitHub link provided below.

Install

In the terminal, go to your file directory and run this command.

$ git clone https://github.com/aneallaryea100/blog_app.git
$ cd Blog-App

Run the following command to install all dependencies.

$ bundle install
$ code.

Run tests

Run the local server with:

$ rails server

Open it by accessing http://localhost:3000/ on your browser.

Run tests

To install rspec, in the terminal kindly run this command

$ gem install rspec

To run tests, please run this command

$ rspec ./spec/#{filename}_spec.rb

Usage

Kindly modify the files as needed.

Author

πŸ‘€ Aneal Laryea

πŸ‘€ Ntare Guy

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

πŸ“ License

This project is MIT licensed.

About

License:MIT License


Languages

Language:Ruby 73.5%Language:HTML 22.3%Language:Batchfile 3.3%Language:CSS 0.8%Language:JavaScript 0.1%