* tests: setup initial infra for end to end tests * tests: rework end to end host * tests: remove need for bang operator * tests: correct header component tests * docs: add README.md to blog directory with instructions on setting up local dev environment with and without docker * docs: update non-developer run command * feat: finish layout of header * feat: add favicon * tests: setup test coverage * chore: update workflow with missing playwright step * chore: add install command
894 B
894 B
Blog
Setup for development
Clone the repository
git clone https://github.com/StevanFreeborn/blog.stevanfreeborn.com.git
Generate development SSL certificates
dotnet dev-certs https -ep ${HOME}/.aspnet/https/Blog.pfx -p <password>
dotnet dev-certs https --trust
dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\Blog.pfx -p <password> --trust
Developing with Docker
Create .env.development file
cp src/Blog/example.env.development src/Blog/.env.development
Build and run the Docker container
docker-compose -f docker-compose.dev.yml up --build
Developing without Docker
Create appsettings.Development.json file
cp src/Blog/appsettings.example.json src/Blog/appsettings.Development.json
Run the application
dotnet run --project src/Blog/Blog.csproj