Skip to content

Personal website, blog, portfolio and resume

Notifications You must be signed in to change notification settings

CaddyDz/caddydz.github.io

Repository files navigation

Personal website, blog, portfolio and CV

Installation Instructions

Prerequisites

Runtime only

  1. Run a container (downloads image from the default registry Docker Hub ~16.95 MB)
  • macOS
docker run --name dsalim.dev -dp 4000:4000 --rm caddydz/caddydz.github.io && open http://localhost:4000
  • Windows
docker run --name dsalim.dev -dp 4000:4000 --rm caddydz/caddydz.github.io && start "http://localhost:4000"

Development

  1. Clone the repository
git clone https://github.com/CaddyDz/caddydz.github.io Caddy
  1. Change into the directory
cd Caddy
  1. Build the Docker image
docker build --no-cache -t caddydz/caddydz.github.io .
  1. Run a container binding the project into its volume
docker run --name dsalim.dev -dp 35729:35729 -p 4000:4000 -v $(pwd):/srv --rm caddydz/caddydz.github.io

Port 35729 is bound for live reload

  1. Open http://localhost:4000 in a browser