Skip to content

berglundtony/PolisenNews.Cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Empty CMS template

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

An Optimizely project with .NETCORE MVC A newslist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published