A blogging platform created using Ruby on Rails.
Please check out the live demo deployed on heroku.
7- Validations, model specs, and n+1 problems
10- Integration specs for views
To get a local copy follow these simple example steps.
- Make sure you have
Postgres
andRuby
installed. - Open the terminal window and clone the repository using this command:
git@github.com:Behnam1369/rails-blog.git
- Open the repo by typing :
cd rails-blog
- Install the project's dependencies by running this command:
bundle install
- Make sure you have database user called
blog_user
. - Make sure you have a
db.rb
file under theconfig
folder and it should be containingENV['BLOG_DATABASE_PASSWORD'] = 'your_password'
. - run
rails db:create
to create the database. - run
rails db:migrate
to create the the dchema. - run
rails s
to start the application on local server. - To test the project, run
rspec
in your terminal
- Ruby
- Rails
- Postgres
👤 Behnam Aghaali
- GitHub: https://github.com/Behnam1369
- LinkedIn: https://www.linkedin.com/in/behnam-aghaali
- Twitter: https://twitter.com/behnamagh1369
👤 Victor Peralta
- GitHub: https://github.com/VicPeralta
- LinkedIn: https://www.linkedin.com/in/vicperalta/
- Twitter: https://twitter.com/VicPeralta
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used 64C5
- Inspiration
- etc
This project is MIT licensed.