- Install .NET 5.0
- Install docker
- MAC ONLY: Install Powershell (https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos?view=powershell-7.1)
- Install Brew (if not installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install powershell
pwsh
- Install Brew (if not installed)
- Environment Setup Tasks. In CMD/Powershell/Terminal run the following
dotnet new -i EPiServer.Net.Templates --nuget-source https://nuget.optimizely.com/feed/packages.svc/ --force
dotnet tool install EPiServer.Net.Cli --global --add-source https://nuget.optimizely.com/feed/packages.svc/
dotnet nuget add source http://nuget.episerver.com/feed/packages.svc -n Optimizely
- Run
dotnet dev-certs https --trust
- Setup a DB server on Docker (if you're not already running one)
- Grab the docker compose file from https://bit.ly/docker-compose-dbs
- In CMD/Powershell/Terminal run
docker compose up
- From the src/Training.B.Web folder
dotnet-episerver create-cms-database Training.B.Web.csproj -S localhost -U sa -P 0pti_R0cks
- Note, if you're already running Docker SQL, use your own username and passworddotnet-episerver add-admin-user Training.B.Web.csproj -u dept -p P4ssw0rd! -e [email protected] -c EPiServerDB
- Run through Visual Studio OR run
dotnet build
thendotnet run
technicaldogsbody / optimizely-reactjsnet-training Goto Github PK
View Code? Open in Web Editor NEWTraining project for using Optimizely 12 with Mediatr, ReactJS.net, React and Storybook.
License: GNU General Public License v3.0