I'll assume you already have a DISQUS account.
Enable the plugin installation, including selecting the live site in the admin.
Then add the following code at the beginning of your <head> tag.
var disqus_developer = 1; // this would set it to developer mode
That will enable the commenting engine to developer mode and should allow it work on localhost.