Skip to content

md-farhan-memon/test_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This is an example of blog created using Ruby on Rails

it is already hosted on heroku for live demo: test-blog-farhan.herokuapp.com

To setup:

  • Clone/download the repository

  • run bundle install

  • run rake db:migrate , rake db:setup if required

  • run rake db:seed to create a user and a admin

    user:

    email: test@user.com
    pswd: test@1234

    admin:

    email: test@admin.com
    pswd: test@1234
  • run rake create_users to generate multiple users

  • run rake create_blogs to create dummy blogs

  • run rake follow_users to make users follow each other randomly

Features:

  • Devise Registration and Login

  • Welcome Email

  • Make Profile Public/Private

  • Upload your avatars - Profile Pictures

  • Follow/Unfollow users

  • TypeAhead Search Topics among 100s of posts

  • Create Posts, can add to draft if incomplete

  • Sort posts based on popularity and/or creation time

  • Fully responsive

Browse and feel free to fork, comment and report bugs