A simple blog system to learn the basics of Ruby on Rails including:
- Models, Views, and Controllers (MVC)
- Data Structures & Relationships
- Routing
- Migrations
- Views with forms, partials, and helpers
- RESTful design
- Adding gems for extra features
Check it out HERE
Ruby version - 2.6.5
Rails version - 6.0.1
Framework - Ruby on Rails
Database - Postgres
Hosted on Heroku
Make sure you have Rails and Git installed on your machine
-
git clone the repo to your local machine
git clone https://github.com/MaryTalvistu/blogger
-
Run
bundle install
to install gems -
Run
rake db:migrate
to migrate the database -
On root path you can run
rails s
to begin server -
Open browser to
localhost:3000
to view application
Once you have the repo on your local machine
-
Run
rake db:migrate RAILS_ENV=test
to migrate the testing enviroment database -
Run
rake test
to verify everything is ok