Setup Hawksearch Demo site

In this article you will find:

Goal

This article provides information of the steps needed to setup the Hawksearch Demo site.

Prerequisite

Steps for Setting-up the Project

  1. Clone the hawkconnector-dev.com repository - http://pr-tfs-4as01:8080/tfs/SitefinityStandards/hawk-search-add-on/_git/hawkconnector-dev.com

  2. Create a new site in Internet Information Service (IIS) and set the path of your site to the Web folder of the Hawksearch demo site.

  3. Get the Database backup file from: M:\Hawksearch\Connector\Demo site database and copy it locally. If the file is missing, check the demo site repository Readme file for a new location.

  4. Open Microsoft SQL server and restore the database. Now you should see a new database added called hawksearch_demo.

  5. Create a new Logins in SQL : IIS APPPOOL\(the name of the IIS site). Add the user to the “hawksearch_demo” database and make him an db_owner.

  6. Set the SitefinityWebApp.sln DataConfig file located in App_Data/Sitefinity/Configuration with correct parameters:

    1. data source - SQL server name

    2. Integrated Security = SSPI

    3. initial catalog - Database name

  7. In IIS open the folder structure of your website and right-click on App_Data and edit the permissions. Add a user with the same name as the site name and the one that we added in SQL Logins. Change the location to the local machine and give full permissions to all users.

8. Open Visual Studio and Build the solution

9. Now start it from IIS and you will be prompted to add the Sitefinity license. 

Next Steps

Known Issues

If you have Roslyn error when you try to run the solution delete the bin folder from the SitefinityWebApp project, restart the Visual Studio and rebuild the solution.