notes/README.md

505 B

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