Posted by admin under General  sBlog.Net  Disqus  sBlog.Net v2.0  on Feb 24 2013

To get started with this project, you need the following:

  • ASP.Net 4 Framework
  • Visual Studio 2010
  • ASP.Net MVC 3
  • MS SQL Server (or MS SQL Server Express)

Assuming, you satisfy the pre-requisites, follow the steps below to get started!

  • Download the sBlog.Net binaries zip file and extract the files.
  • Launch MS SQL server, create a new database for use by your blog - as an administrator or a user who has db_creator privileges. If the database was created by the user that is going to be used in the web.config file, skip the following steps to give db_owner access.
    • Then, if you don't already have a login, create a login
    • Now, you need to provide access to the newly created database for the user you created in the previous step
    • To do this, expand Security, then expand Logins, right click on the user your created, choose Properties
    • In the dialog that appears, choose User Mapping
    • In the right pane, select the database you created, check the checkbox corresponding to the new database
    • In the Database role membership section, choose db_owner, click on OK
  • Now (assuming your IIS directory is C:\inetpub\wwwroot), create a folder called sblog
  • Copy the contents of the folder extracted to the folder you created in the previous step
  • Now, right click on the "Uploads" folder, choose Properties. Then select the "Security" tab
  • Click on "Edit", if you do not find IIS_IUSRS add it. Then select the user, give "Full Control" for the Uploads folder, click on OK in the dialogs opened
  • Then, open the web.config file and modify the connection string to use the new database, user you created, copy this over since you require this while setting up the site!
  • Now open IIS manager, from the Start menu or by entering inetmgr in your Run dialog
  • Create a new website by right clicking on the Sites node and choosing Add Web Site
  • In the Add Web Site dialog,Now your website is all set to be used
    • Enter a site name
    • Select ASP.Net 4.0 application pool (or) create a new app pool that uses the ASP.Net 4.0 framework
    • In the Physical path text box, choose the folder (sblog), created in the previous step
    • Now select OK
  • In case you are using a website provider like godaddy, copy over the files using an ftp client of your choice.
  • To launch the web site, right click on it, choose "Manage Web Site" and then "Browse"
  • If you are using a provider like godaddy, go to the browser and enter your website address and follow the on-screen instructions.
Here is a blog post that might help you with the setup. In case you are hosting the blog using shared hosting, you may have to "bin-deploy" mvc 3 - refer to this blog post for more information!

For setup instructions using visual studio, click here! Now, you are all set to start using your instance of sBlog.Net!!

Tagged  iis 
Posted by admin under General  sBlog.Net  Disqus  on Mar 19 2013

Hello people!

I am back to developing sBlog.Net! It's been a while since I got a chance to work in this project! I have added disqus support to sBlog.Net :) You don't have to go with the native commenting system anymore! Fun, isn't it ? This change only went in to the master branch. You can get it from github here!

First step to use disqus is to get the latest source. Then run the sBlog.Net.DB\v2.0\Update\sblog_02_01.sql on your sBlog.Net database. Now login as the administrator and go to the Settings page. Here you will have the ability to enable the disqus commenting system. Just register with the disqus site by specifying your site name since you need the disqus shortname to finalize the process of enabling the disqus commenting system for your site!

Have fun and happy coding :)

Tagged  disqus