Skip to content

A really simple application for Disqus like comments on a blog.

Notifications You must be signed in to change notification settings

sdqali/commentary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commentary

Add comments to your blog.

Setup

  • Edit config/production.yml to add your site. Specify a name and the domain where the site will be hosted. Example configuration will be like this:
name: Blog
domain: blog.sdqali.in
  • Run RACK_ENV=production setup.rb
  • Start the server with RACK_ENV=production app.rb
  • Add the following to your HTML pages or templates. selector is the CSS selector for the DOM element where comments will be rendered.
<script type="text/javascript" src="<server>/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="<server>//commentary.js"></script>
<script type="text/javascript">
   $(document).ready(function() {
      Commentary.initialize("<server>", "<selector>");
   });
</script>

About

A really simple application for Disqus like comments on a blog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published