IPos Wishlist deployment - BBCWiki/IPos-Internal GitHub Wiki
Installation guide Ipos Wishlist
1. Installation of IposVision WebServices
Install the 3 WebServices used for iOS (PromoEngine, ContactsOData & PaymentTerminalOData). A guide of the installation can be found here.
Go to C:\inetpub\wwwroot\ and create a folder named IposWishlist.
2. Install Ipos Wishlist
Preparation
On Windows 10, open Turn Windows Features on and off (Attiva o disattiva funzionalita di Windows). Make sure the following features are enabled:
- .NET Framework 4.8 Advanced Services -> Servizi WCF -> Attivazione HTTP
- Internet Information Services -> Servizi Web -> Funzionalita HTTP comuni -> Reindirizzamento HTTP
- Internet Information Services -> Servizi Web -> Sicurezza -> Autenticazione Windows
Download and install the Microsoft .NET 3.1 Hosting bundle from here.
Open IIS, right-click on Sites (Siti) and select Add Website (Aggiungi sito web).
Set the name of the site to IposWishlist and select the content directory of the new created folder (Go to C:\inetpub\wwwroot\IposWishlist). On binding, set the type to http and select the port you want the app to work on.
Download and configure Ipos Wishlist
Download the IposWishlist.ZIP archive from the portal.
Unarchive the contents of the file to C:\BBC.
Modify the IPosWishlist.SetParameters and configure the Site Name
<setParameter name="IIS Web Application Name" value="IposWishlist" />
.
Installation
Open a Command Prompt window as administrator (cmd.exe) and change the directory to C:\BBC\IposWishlist by executing the following command line:
cd C:\BBC\IposWishlist
Test the installer to make sure there are no errors by executing the following command:
cmd /k IPosWishlist.deploy.cmd /t
If there are no errors, proceed to run the command to install the web application
cmd /k IPosWishlist.deploy.cmd /y
Go to the folder where the website has been installed and edit the appsettings.json file with Notepad. Change the value of the parameter IposApiURI to the endpoint of which the PromoEngine Webservice (installed at the first step) is running on, and save.
Check Installation
Reopen IIS and check that the IposWishlist site is present.
You can check which App Pool IposWishlist is part of by clicking on **IposWishlist site **on the left and select Advanced Settings (Impostazioni avanzate) from the right side of IIS. Go to Application Pools (Pool di applicazioni) and right click on the App Pool of which IposWishlist is part of (usually DefaultAppPool) and choose Advanced Settings (Impostazioni avanzate). Set the Load User Profile (Carico profilo utente) setting to False and save by pressing OK.
Select Impostazioni predefinite pool di applicazioni from the right, and set Enable 32-bit apps (Attiva applicazioni a 32 bit) to true.
In IIS, click on IposWishlist site on the left and double-click on Authentication (Autenticazione).
Right-click on Windows authentication (Autenticazione di Windows) and select Enable (Abilita).
Click on IposWishlist website on the right of the IIS window, and click Explore Web site (Esplora sito web) on the right side of IIS.
If configured correctly, the website should start.