Skip to content

Installation

Sean McLellan edited this page Feb 27, 2018 · 3 revisions

Barista Installation

  1. Services Framework Deployment

    1. Before You Deploy:

      1. Ensure that all other users are logged off of all farm servers
      2. Ensure that all PowerShell and SharePoint Management Shell windows are closed on all servers
      3. Ensure that the deployment files (WSP + PS Scripts) have been copied to a folder on a server in the farm.
    2. Barista Deployment Steps

      1. Using "Run as Administrator", open a new PowerShell (not SharePoint Shell) window.
      2. Navigate to the directory where this file was unzipped
      3. Edit the Solutions-dev.xml in this folder and replace any urls with urls of the local environment
      4. Execute the following command:
      .\Deploy.ps1 -Config Solutions-[config].xml -ManagedAccount [SPAppPool Acct] -SPApplicationPoolName "Barista Application Pool" -Uri [Localhost]
    3. Verify Barista Deployment

      1. Verify that the Service Application has been installed:

        1. Open Central Admin.
        2. Under "Application Management" Click "Manage Service Applications"
        3. Verify that a Service Application named "Barista Service Application" appears in the list.
      2. Verify that the Barista Service has been started on a server in the farm:

        1. Open Central Admin.
        2. Under "System Settings" click "Manage Services on Server"
        3. Under the server dropdown, select an application server.
        4. Verify that the service named "Barista Service" has been started.
        5. If it has not been started, press start and perform an IIS reset.
      3. Verify that the Barista Search Service has been started on a server in the farm:

        1. Open Central Admin.
        2. Under "System Settings" click "Manage Services on Server"
        3. Under the server dropdown, select an application server.
        4. Verify that the service named "Barista Search Service" has been started.
        5. If it has not been started, press start.
      4. Verify that the Barista Service Application is functioning nominally:

        1. From the deployment location, execute the following powershell script:
        .\TestBaristaServiceApplication.ps1 -Uri  [Your URI]
        1. Verify that the result is 42.
  2. Add local host to trusted locations

    1. Open Central Admin.
    2. Under "Application Management" Click "Manage Service Applications"
    3. Click "Barista Service Application"
    4. Using the buttons, add the URL of the local host, optionally trusting children
  3. Use Barista Fiddle

    1. Navigate to http://[localhost]/15/_layouts/baristafiddle/
    2. Start working with Barista!

Uninstall

Execute the following command:

.\Uninstall.ps1 -SPApplicationPoolName "Barista Application Pool"