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
Access to Americaneagle.com TFS SitefinityStandarts collection - http://pr-tfs-4as01:8080/tfs/SitefinityStandards/_projects
Steps for Setting-up the Project
Clone the hawkconnector-dev.com repository - http://pr-tfs-4as01:8080/tfs/SitefinityStandards/hawk-search-add-on/_git/hawkconnector-dev.com
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.
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.
Open Microsoft SQL server and restore the database. Now you should see a new database added called hawksearch_demo.
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.
Set the SitefinityWebApp.sln DataConfig file located in App_Data/Sitefinity/Configuration with correct parameters:
data source - SQL server name
Integrated Security = SSPI
initial catalog - Database name
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.