Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omar-muhamad/rails-blog-app
https://github.com/omar-muhamad/rails-blog-app
Last synced: about 13 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/omar-muhamad/rails-blog-app
- Owner: Omar-Muhamad
- Created: 2022-03-24T00:02:31.000Z (almost 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-04-08T18:49:17.000Z (over 2 years ago)
- Last Synced: 2024-11-09T01:34:05.844Z (about 2 months ago)
- Language: Ruby
- Size: 268 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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!
## 📝 LicenseThis project is [MIT](./MIT.md) licensed.