<commit_before><h1>
<img alt="LegalPortal logo" src="http://nuveminc.com/img/lp-logo.png" title="LegalPortal"/>
</h1>

## SharePoint LegalPortal (beta)

LegalPortal is a SharePoint-based application that utilizes SharePoint (SP) as
the base platform for an intranet portal. The current release is in beta and
requires some initial configuration which is described in the [Installation](#installation) section
below.

This portal application uses a completely novel approach pioneeered by Nuvem Principal Consultant, <NAME>, utilizes a SharePoint (SP) Wiki page to host an Angular-based Single Page Application (SPA to accelerate development time reducing costs dramatically. No more installing and retracting while developing the solution. The entire app can be deployed as easily as dragging and dropping files via SharePoint Designer or the SharePoint native UI. Updating the app is as simple as copying files to an existing document library (Site Assets).

**Benefits:**
 - Greatly reduces development hell of installing and retracting solutions. No more artifacts!
 - Completely portable. Can be deployed to either on-prem or to the cloud with no changes.
 - Complete separation of concerns. Presentation and server are completely decoupled.
 - Uses SharePoint as an application platform which includes Role-based access and API security out of the box, native list and library interfaces make administration of the portal simple and easy.

This project is the result of a number of portal projects developed for various
Legal Services organizations and provides basic features that were common through
all projects.

The portal application adds a simpler and more intuitive User Experience (UX) to
the out-of-the-box User Interface (UI) provided by SharePoint and was developed as
a modular application framework to allow extensible "portlets" to be developed and
added to the core set of features.

## Legal Portal Out of the Box
<img alt="LegalPortal logo" src="http://nuveminc.com/img/lp-dashboard.png" title="LegalPortal"/>

## Legal Portal Customized for LAF
<img alt="LAF LegalPortal logo" src="http://nuveminc.com/img/lp-laf-dashboard.png" title="LAF LegalPortal"/>

## Installation
You can either clone the files from this repo or download the files as a zip file.
Once you have the files, you will need to perform some SP configuration. Since a solution package has not been developed yet.

The easiest way to play with this beta is to create a new Site Collection since you will need to create a Blog sub-site and a few lists and libraries to support the application. You can use an existing site, but be aware you will be creating new lists and libraries.

>**Note:** create the list or library specified with no spaces in the name.
You can change the display name by changing the name **after** you have created the list.

>Also note that [root] refers to the "Site Collection" you are using

> The "portal" folder referenced below refers to the current versioned folder
that is in the repo (e.g. portal-v0.2.012116)  

 1. Copy the entire file folder (portal) into [root]/SiteAssets in SP ([root]/SiteAssets/portal-v0.2.012116)<commit_msg>fixes typos and modified content<commit_after><h1>
<img alt="LegalPortal logo" src="http://nuveminc.com/img/lp-logo.png" title="LegalPortal"/>
</h1>

## SharePoint LegalPortal (beta)

LegalPortal is a SharePoint-based application that utilizes SharePoint (SP) as
the base platform for an intranet portal. The current release is in beta and
requires some initial configuration which is described in the [Installation](#installation) section
below.

This portal application implements a completely novel approach pioneeered by Nuvem Principal Consultant, <NAME>. The LegalPortal framework utilizes a SharePoint (SP) Wiki page to host an Angular-based Single Page Application (SPA) to accelerate development time reducing costs dramatically. No more installing and retracting while developing a solution. The entire app can be deployed as easily as dragging and dropping files via SharePoint Designer or the SharePoint native UI. Updating the app is as simple as copying files to an existing document library (SiteAssets).

**Developer Benefits:**
 - Greatly reduces development hell of installing and retracting solutions. No more artifacts! No more XML!
 - Completely portable. Can be deployed to either on-prem or to the cloud with no changes to your code.
 - Uses native SharePoint REST API's with an easy to use custom JavaScript data provider. Simplifying development and data access.
 - Complete separation of concerns. Presentation and server are completely decoupled.
 - Uses SharePoint as an application platform which includes Role-based access and API security out of the box, native list and library interfaces make administration of the portal simple and easy.
 - Totally customizable and extendable.
 - Open Source MIT licensing.

This project is the result of a number of portal projects developed for various
Legal Services organizations around the country and provides basic features that were common through
all projects.

The portal application adds a simpler and more intuitive User Experience (UX) to
the out-of-the-box User Interface (UI) provided by SharePoint and was developed as
a modular application framework to allow extensible "portlets" to be developed and
added to the core set of features.

## Legal Portal Out of the Box
<img alt="LegalPortal logo" src="http://nuveminc.com/img/lp-dashboard.png" title="LegalPortal"/>

## Legal Portal Customized for LAF
<img alt="LAF LegalPortal logo" src="http://nuveminc.com/img/lp-laf-dashboard.png" title="LAF LegalPortal"/>

## Installation
You can either clone the files from this repo or download the files as a zip file.
Once you have the files, you will need to perform some SP configuration. Since a solution package has not been developed yet.

The easiest way to play with this beta is to create a new Site Collection since you will need to create a Blog sub-site and a few lists and libraries to support the application. You can use an existing site, but be aware you will be creating new lists and libraries.

>**Note:** create the list or library specified with no spaces in the name.
You can change the display name by changing the name **after** you have created the list.

>Also note that [root] refers to the "Site Collection" you are using

> The "portal" folder referenced below refers to the current versioned folder
that is in the repo (e.g. portal-v0.2.012116)  

 1. Copy the entire file folder (portal) into [root]/SiteAssets in SP ([root]/SiteAssets/portal-v0.2.012116)
{'fraction_non_alphanumeric': 0.056806164073122827, 'fraction_numerical': 0.0057410484967517755, 'mean_word_length': 4.706896551724138, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4055711', 'n_tokens_mistral': 1689, 'n_tokens_neox': 1609, 'n_words': 944}