Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Getting started

jayrenn edited this page Jan 19, 2017 · 15 revisions

Table of contents

Architecture

This tool is a web-based application built on the MVC framework, with AngularJS and SQL Server as the back-end database.

Required hardware

This tool requires the following hardware or hardware features for successful completion:

Hardware Description
Minimum physical memory 16 GB RAM recommended
Available disk space The PC must have at least 8 GB of free space. Disk must be formatted by NTFS file system for better security.

Required software

The tool requires the following software or software features for successful completion:

Software Minimum version
Client operating system Windows 7 or higher
Active Directory Domain joined
Additional server infrastructure Internet Information Service (IIS) 6.0 or later
SQL Server Microsoft SQL Server Enterprise Edition 2012 or later

Step 1: Create the Application Pool and Website in IIS

Copying the deployment folder to the web server

  1. Download the source code from the repository.
  2. Open the solution file EMIEWebPortal.sln in Visual Studio and build the entire solution.
  3. Copy the contents of the EMIEWebPortal/ folder to the deployment directory of your Website.

Create a new Application Pool

  1. In IIS Manager, expand the local computer, right-click Application Pools, then click Add Application Pool.
  2. In the Application Pool Name field, type the name of the new application pool, e.g. EMIEWebAppPool.
  3. Select a .NET CLR version of v4.0 or higher, and select Managed pipeline mode as Integrated.
  4. Click OK.
  5. Select the Application Pool you just created from the list and click on the Advanced Settings option from the Actions pane.
  6. Confirm that the Identity value is set to ApplicationPoolIdentity.
  7. Click OK and close the dialogue.
  8. Navigate to your deployment directory in File Explorer, e.g. D:\EMIEWebApp.
  9. Right-click on the directory, go to Properties, and select the Security tab.
  10. Add the newly created Application Pool to the list, e.g. IIS AppPool\EMIEWebAppPool, with Full control permissions. Make sure the location is set to search the local computer.
  11. Add Everyone to the list with Read & execute permissions.

Create the Website

  1. In IIS Manager, expand the local computer, then right-click the Sites folder.
  2. Select Add Website.
  3. In the Site name field, enter a name for the Website, e.g. EMIEWebApp.
  4. Click the Select button and select the Application Pool you created earlier, e.g. EMIEWebAppPool.
  5. In the Physical path field, enter the name of the folder that contains the deployment directory, e.g. D:\EMIEWebApp.
  6. Configure the Binding Type, IP address, and Port as appropriate. Seek help from your network administrator if you have any questions.
  7. Un-check the checkbox Start Website immediately.
  8. Click OK.
  9. In IIS Manager, expand the local computer, then select the newly created Website, e.g. EMIEWebApp.
  10. From the Features View, double-click on the Authentication icon in the IIS section.
  11. Enable Windows Authentication. Anonymous Authentication should be enabled by default.
  12. Return to the Features View, then double-click on the Connection Strings icon in the ASP.NET section.
  13. Open the LOBMergedEntities Connection String for editing.
  14. Enter the name of your local computer where it says data source=.
  15. Enter the name of your database where it says initial catalog=. The next section will describe how to create the database.

Step 2: Create and prepare the database

Clone this wiki locally