Forte.Optimizely.ContentUsage is a small shell module for Optimizely CMS 12.
It lists the available content types and its instances (blocks or pages), published throughout the website.
To make it work in your CMS 12 web app:
- Install the
Forte.Optimizely.ContentUsage
NuGet - Add
services.AddContentUsage();
where you register services
For demo purposes the solution uses Foundation. Foundation project consumes Forte.Optimizely.ContentUsage as a Nuget package.
You will need these to run locally on your machine.
Demo CMS project has a default username and password of admin@example.com
/ Episerver123!
Open command prompt as administrator
git clone https://github.com/fortedigital/EpiContentUsage.git
cd EpiContentUsage/src/Forte.Optimizely.ContentUsage
dotnet build Forte.Optimizely.ContentUsage.csproj
yarn install
yarn build
dotnet pack Forte.Optimizely.ContentUsage.csproj
cd ../../
setup.cmd
dotnet run --project src/Foundation/Foundation.csproj
After completing the setup steps and running the solution, access the site at http://localhost:5000.
To change the default port, modify the file /src/Foundation/Properties/launchSettings.json.