# Notes server
## Set up hugo and build HTML
```bash
# Install hugo.
sudo apt install hugo
# Build the HTML.
cd hugo
hugo
```
## Prepare and run server
```bash
# Set access credentials.
./passwd.sh username password
# Run the service.
docker compose up -d
```
## Changing the login credentials
```bash
# 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
```