This is a simple Blog app build in Ruby on Rails.
Live app is runing on https://farooq-blog-app.herokuapp.com/
- Ruby 2.7.0
- Bundler 2.1.2
- Rails 6.0.3.7
- Postgres 13.0
Clone the project repo
$ git clone https://github.com/farooq-dev075/blog_app.git
Get into the project directory
$ cd blog_app
Install gems and their dependencies
$ bundle install
- Copy the environment variables example file
Use following command to do so
$ cp config/application.example.yml config/application.yml
- Set the following ENV Variables in
application.yml
file PG_USERNAME, PG_PASSWORD, PG_HOST
Setting up the Database
$ rails db:create db:migrate
Start the Application server
$ rails s