---> cfraij.com <---
The following steps will ensure your local development environment is setup correctly, to begin working on this website:
- Install Docker Desktop
- Open a terminal/command prompt/powershell (windows) and change directory to root folder (i.e.
~/git/cfraij.com/
) - Run
docker compose -d up
(note: the first time you run this it will take 10 minutes to build image) - Now navigate to localhost:4000/admin
(Option #1) Run script manually in Powershell
cd ~/git/cfraij.com && docker compose up -d
OR
(Option #2) Open File Explorer and go into cfraij.com folder, and then right-click "run-docker.bat" and select "Run as administrator"
If Docker is running and the app is not available at localhost:4000, then here are some ways to help troubleshoot and get it fixed.
Check if the Docker container is running:
docker compose ps
Restart the container:
docker compose down
docker compose up -d
Stream logs:
docker compose logs -f --tail=100
Rebuild Docker image:
docker compose build
Clear old cache:
Your cache may be in a bad state. In this case, you should delete it and restart the Docker container.
rm -rf .jekyll-cache/
rm -rf _site/
Open browser and navigate to url: