This repository was archived by the owner on Jun 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Getting started
jayrenn edited this page Jan 19, 2017
·
15 revisions
- Architecture
- Required hardware
- Required software
- Instructions
This tool is a web-based application built on the MVC framework, with AngularJS and SQL Server as the back-end database.
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. |
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 |
Copying the deployment folder to the web server
- Download the source code from the repository.
- Open the solution file
EMIEWebPortal.sln
in Visual Studio and build the entire solution. - Copy the contents of the
EMIEWebPortal/
folder to the deployment directory of your Website.
Create a new Application Pool
- In IIS Manager, expand the local computer, right-click Application Pools, then click Add Application Pool.
- In the Application Pool Name field, type the name of the new application pool, e.g.
EMIEWebAppPool
. - Select a .NET CLR version of
v4.0
or higher, and select Managed pipeline mode asIntegrated
. - Click OK.
- Select the Application Pool you just created from the list and click on the Advanced Settings option from the Actions pane.
- Confirm that the Identity value is set to
ApplicationPoolIdentity
. - Click OK and close the dialogue.
- Navigate to your deployment directory in File Explorer, e.g.
D:\EMIEWebApp
. - Right-click on the directory, go to Properties, and select the Security tab.
- 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. - Add Everyone to the list with Read & execute permissions.
Create the Website
- In IIS Manager, expand the local computer, then right-click the Sites folder.
- Select Add Website.
- In the Site name field, enter a name for the Website, e.g.
EMIEWebApp
. - Click the Select button and select the Application Pool you created earlier, e.g.
EMIEWebAppPool
. - In the Physical path field, enter the name of the folder that contains the deployment directory, e.g.
D:\EMIEWebApp
. - Configure the Binding Type, IP address, and Port as appropriate. Seek help from your network administrator if you have any questions.
- Un-check the checkbox Start Website immediately.
- Click OK.
- In IIS Manager, expand the local computer, then select the newly created Website, e.g.
EMIEWebApp
. - From the Features View, double-click on the Authentication icon in the IIS section.
- Enable Windows Authentication. Anonymous Authentication should be enabled by default.
- Return to the Features View, then double-click on the Connection Strings icon in the ASP.NET section.
- Open the
LOBMergedEntities
Connection String for editing. - Enter the name of your local computer where it says
data source=
. - Enter the name of your database where it says
initial catalog=
. The next section will describe how to create the database.