zeshan-786 / sample-blog-ruby-on-rails

Sample blog is a simple blog created for Ruby on Rails demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SampleBlog

SampleBlog is a simple blog created for Ruby on Rails demo

Installation

Install ruby latest version on you computer you also need to install rails and, Gem bundler.

Project is created using

rails new sampleBlog

For get the project runing on your pc clone the repo and change directory to project folder and run

bundle install

To create database schema run

rails db:migrate

then run to start the server

rails s

Deployment

To deploy on heroku login to heroku through CLI

heroku login

Create application on heroku

heroku create application-name

Set heroku stack

heroku stack:set heroku-18

Deploy

git push heroku master

The application will be runing on https://localhost:3000

Credentials

Credentials for basic authentication

username: syed
password: 1234

About

Sample blog is a simple blog created for Ruby on Rails demo


Languages

Language:Ruby 74.0%Language:HTML 19.0%Language:JavaScript 6.4%Language:SCSS 0.7%