Blog App
Blog App
Blog website that shows a list of posts and empower readers to interact with them by adding comments and liking posts. This project is part of Microverse's 2.0 curriculum, following the guidelines of
![]()
π for best practices.
π€
Built With
-
π€ Ruby -
π€ Ruby on Rails -
π€ PostgreSQL
π€
Getting Started
To get a local copy up and running follow these simple example steps.
π€
Prerequisites
π€
Setup
- Make sure you have Ruby on Rails set up properly on your computer
- Clone or download this repo on your machine
- Enter project directory
π€
Install
bundle install
π€
Database
# Create user
sudo -u postgres createuser blog -s
# Create the database
rake db:create
# Load the schema
rails db:schema:load
# Seed
rails db:seed
## Apply migration (only if you generate a new migration file)
rails db:migrate
π€
Run
rails s
π€
Test
rspec
π€
Troubleshoot
Rspec failing
RAILS_ENV=test rake db:reset
π€
Authors:
- Github:sheylaPozo
- Twitter: @sheyPozo
- Linkedin: Sheyla Pozo
π€
Contributing
π€
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:
- Microverse's guidelines
- Inspiration
π
License
This project is MIT licensed.