1.3 KiB
1.3 KiB
Handshake Australia & Own The Dot Website
HNSAU and Own The Dot website files.
Own The Dot (ownthedot.com)
ownthedot.com is dynamically powered by Markdown files stored on Nextcloud (or local sync directory).
Sections
- Home (
/) - About (
/about) - Articles (
/articlesand/articles/<slug>)
Nextcloud Configuration
Configure the following in .env or container environment:
NEXTCLOUD_URL: Nextcloud server URL (default:https://cloud.woodburn.au)NEXTCLOUD_SHARE_TOKENorNEXTCLOUD_SHARE_URL: Public share folder token or URLNEXTCLOUD_USER&NEXTCLOUD_PASSWORD: Authenticated WebDAV credentialsNEXTCLOUD_PATH: Folder path on Nextcloud (default:OwnTheDot)NEXTCLOUD_LOCAL_DIR: Local synced folder path (e.g./home/nathan/Nextcloud/OwnTheDot)NEXTCLOUD_CACHE_TTL: Cache expiration in seconds (default:60)
Adding Articles & Editing Content
- New Articles: Place any
.mdfile inside thearticles/folder in Nextcloud. - About Page: Edit
about.mdin the Nextcloud root folder. - Cache Invalidation: Call
POST /api/otd/refreshor wait for TTL to expire.
Deployment
To deploy the website, run:
sudo docker run -d -p 5000:5000 --name hnsau git.woodburn.au/nathanwoodburn/hnsau:latest