Rails Blog Application

The Blog app that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

Built With

  • Ruby
  • Ruby on Rails
  • PostgreSql
  • Html

Live Demo (if available)

Coming Soon

Getting Started

To get a local copy of this project:

Prerequisites

  • Make sure Ruby version ruby 2.5.0 or later is installed on your computer.
  • Make sure ruby on rails version 6.0.0 or later is installed on your computer.
  • Make sure postgresql is installed on your computer.

Clone this repository:

  • Type in your terminal : git clone git@github.com:danielufeli/railsblog.git
  • Open the repository with cd railsblog

  • Use your favorite Integrated Development Environment (e.g. for Visual Studio Code the command is code .)

  • To get started, In the root directory run:

    • gem install bundler
    • Then run: bundle install
    • Run the command rails db:create to setup database.
    • Run the command rake db:migrate to create databse tables and columns.
    • Then rails s to launch the application

To track linter errors locally follow these steps:

Track Ruby linter errors run:rubocop

To auto-correct Rubocop offenses run: rubocop --auto-correct-all

Run tests

  • To run All the tests:
    • Open the terminal and run bundle exec rspec spec

Author

Daniel Ufeli

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.