No description
Find a file
2025-09-03 23:32:03 +09:30
docker Convert to docker compose 2025-09-03 23:32:03 +09:30
docs Add engineering process notes 2025-08-30 23:50:21 +09:30
hugo Ignore hugo build lock files 2025-03-17 21:52:05 +10:30
.gitignore Ignore unsorted docs 2025-08-20 23:15:38 +09:30
.gitmodules Switch to Hugo Book theme 2025-03-09 02:11:55 +10:30
.tmuxinator.yml tmuxinator config 2025-03-28 23:49:00 +10:30
docker-compose.yml Convert to docker compose 2025-09-03 23:32:03 +09:30
push.sh Use rsync to push build files 2025-03-28 23:49:52 +10:30
README.md Convert to docker compose 2025-09-03 23:32:03 +09:30

Notes server

Set up hugo and build HTML

# Install hugo.
sudo apt install hugo

# Build the HTML.
cd hugo
hugo

Prepare and run server

# Set access credentials.
./passwd.sh username password

# Run the service.
docker compose up -d

Changing the login credentials

# Overwrite the htpasswd file with new user credentials.
./passwd.sh username password

# (Rebuild the image to copy the new credentials.)
docker compose down && docker compose up -d --build