Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omar-muhamad/rails-blog-app


https://github.com/omar-muhamad/rails-blog-app

Last synced: about 13 hours ago
JSON representation

Awesome Lists containing this project

README

        

![](https://img.shields.io/badge/Microverse-blueviolet)
# 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](https://www.ruby-lang.org/en/downloads/).
- Install Rails by running this order in your terminal `gem install rails` (good luck with that).
- Install PostgreSQL from this [link](https://www.postgresql.org/download/).

## 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](127.0.0.1:3000).

## Tests

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

## Author

👨‍💻 **Omar Muhammad**

- GitHub: [@Omar-Muhamad](https://github.com/Omar-Muhamad)
- Twitter: [@Eng_OmarMuhamad](https://twitter.com/Eng_OmarMuhamad)
- LinkedIn: [@eng-omarmuhammad](https://www.linkedin.com/in/eng-omarmuhammad/)

## Show your support

Give a ⭐️ if you like this project!
## 📝 License

This project is [MIT](./MIT.md) licensed.