Skip to content

Alloy demo project that shows how you could use Blazor components to create gadget, cms admin page, reports and global admin page

License

Notifications You must be signed in to change notification settings

Epinova/OptimizelyCmsBlazorComponentAddonsDemo

Repository files navigation

Alloy MVC template

This template should not be seen as best practices, but as a great way to learn and test Optimizely CMS.

How to run

Chose one of the following options to get started.

Windows

Prerequisities

  • .NET SDK 8+
  • SQL Server 2016 Express LocalDB (or later)
$ dotnet run

Any OS with Docker

Prerequisities

  • Docker
  • Enable Docker support when applying the template
  • Review the .env file and make changes where necessary to the Docker-related variables
$ docker-compose up

Note that this Docker setup is just configured for local development. Follow this guide to enable HTTPS.

Reclaiming Docker Image Space

  1. Backup the App_Data/${DB_NAME}.mdf and App_Data/${DB_NAME}.ldf DB restoration files for safety
  2. Run docker compose down --rmi all to remove containers, networks, and images associated with the specific project instance
  3. In the future, run docker compose up anytime you want to recreate the images and containers

Any OS with external database server

Prerequisities

  • .NET SDK 8+
  • SQL Server 2016 (or later) on a external server, e.g. Azure SQL

Create an empty database on the external database server and update the connection string accordingly.

$ dotnet run

About

Alloy demo project that shows how you could use Blazor components to create gadget, cms admin page, reports and global admin page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published