This template should not be seen as best practices, but as a great way to learn and test Optimizely CMS.
Chose one of the following options to get started.
Prerequisities
- .NET SDK 8+
- SQL Server 2016 Express LocalDB (or later)
$ dotnet run
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.
- Backup the App_Data/${DB_NAME}.mdf and App_Data/${DB_NAME}.ldf DB restoration files for safety
- Run
docker compose down --rmi all
to remove containers, networks, and images associated with the specific project instance - In the future, run
docker compose up
anytime you want to recreate the images and containers
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