The Blog app is a classic example of a blog website. this website shows the list of posts and empower readers to interact with them by adding comments and liking posts.
- Ruby on Rails
To get a local copy up and running follow these simple example steps.
- Clone Repository using
git clone https://github.com/NeckerFree/Blog_App
- Move into project directory
cd Blog_App
-
Make sure that your Postgres database is installed.
-
Open the file config\database.yml
-
Modify the connection parameters to point your Postgres Database:
username: [your_user]
password: [your_password]
-
If required drop existing database :
rake db:drop
-
Create databases:
rake db:create
-
Create db structure including tables :
rake db:migrate
-
If required seed initial data (stored in db\seeds.rb file):
rails db:seed
- Install rspec:
bundle install
- Run all tests:
rspec
- Run all tests and show test documentation:
rspec spec --format documentation
- If required (Not for testing) run
rails server
- Visit http://localhost:3000/ in your browser!
👤 Elio Cortés
- GitHub: @NeckerFree
- Twitter: @ElioCortesM
- LinkedIn: elionelsoncortes
👤 Amrendra K
- GitHub: @amrendrakind
- Twitter: @amrendrak_
- LinkedIn: amrendraakumar
👤 Alejandro Neira
- GitHub: @AlejandroNeira98
- Twitter: @JANP_19
- LinkedIn: LinkedIn Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse team for guidance
This project is MIT licensed.