I’ve got access to GitHub Copilot technical preview recently and I wanted to test it out with a simple project.
I don’t know Blazor, and I haven’t done any front-end development for some time now, but that didn’t stop me to complete the proof-of-concept project with Copilot’s assistance. Please enjoy this unscripted video.
When you’re ready to deploy your documentation website, say in Docker with Nginx the following Dockerfile and Nginx default.conf should do.
FROM python:3.9 as builder
COPY . .
RUN pip install mkdocs mkdocs-material && mkdocs build
FROM nginx as deploy
# Copy the build to the nginx directory.
COPY --from=builder /app/site/ /usr/share/nginx/html/
# Copy the nginx configuration to the nginx config directory.
COPY default.conf /etc/nginx/conf.d/
I thought that making videos will be easier that typing blog posts but to my surprise the difficulty is a bit higher. Fixing mistakes takes more time with videos and since I’m not that great of a presenter I struggle with presenting the content. Hopefully I will improve my skills with time and practice.