Skip to content

Omar-Muhamad/Rails-Blog-App

Repository files navigation

Rails Blog App

In this project, I created all controllers and views for my Blog app. I added simple placeholders for my views with plain HTML.

Built With

  • Ruby.
  • Rails.
  • PostgreSQL.
  • Linters.

Install

  • Install Ruby based on your OS from HERE.
  • Install Rails by running this order in your terminal gem install rails (good luck with that).
  • Install PostgreSQL from this link.

Getting started

  1. Clone the project using git-bash or Githup Desktop.
  2. Open the project folder with VSCode or any Editor.
  3. Open terminal and navigate to the project folder.
  4. Install all gems by run this command bundle install
  5. Open database.yml file inside ./config folder and put your username and password.
  6. Run rails db:create and rails db:migrate to create and migrate the database then run rails db:seed to seed data or to do all that in one command just type rails db:reset.
  7. Type rails s to run live server.
  8. Open your browser on this link.

Tests

  1. Insure that you run bundle install on your terminal first.
  2. To run tests run this command rspec.

Author

👨‍💻 Omar Muhammad

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published