Giter VIP home page Giter VIP logo

blog's Introduction

Overview

====== A simple blog that has articles, commenting and email subscription for notifications of new articles.

Features


  • User can create, modify and delete articles.
  • SEO-friendly URLs.
  • Article body is written and rendered in Markdown.
  • Visitors can leave comments on the articles.
  • Visitors can subscribe to the blog with their email address.
  • Subscribers are sent an email notification when a new article is posted.
  • Subscription emails contain a link that can be clicked to view the article.
  • Subscription emails contain a link that can be clicked to unsubscribe.

Technologies


  • Rails 4.2.0
  • Ruby 2.3.1
  • Rspec 3.5.3
  • Capybara
  • Postgresql
  • Bootstrap-sass
  • Friendly-Id (For SEO-friendly URLs)
  • Redcarpet (For rendering Markdown)

Installation

Clone the repository:

$ git clone https://github.com/mzishtiaq/Blog.git
$ cd Blog

Get the required gems:

$ bundle install

Create the database:

$ rake db:create
$ rake db:migrate

Configure the email securely:

$ bundle exec figaro install

Add your gmail credentials to config/application.yml using environment variables. Please make sure you have allowed "Access for less secure apps". To do so, please sign in your gmail account and click here

Running the app

Run the rails server:

$ bin/rails s

Open another terminal window

$ open http://localhost:3000 //OS X
$ xdg-open http://localhost:3000 //Linux

Running the tests

Run the tests using rake:

$ rake

blog's People

Contributors

mzishtiaq avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.