This repository contains the murty.au website, which has been built with Deno, Lume, a commercially licensed version of the IO font by Mass-Driver, and the Font Awesome free icon pack.
Tests, build and local server commands are available from local environments.
Remote testing and GitHub Pages deployment can be triggered locally and is then handled remotely by a GitHub Actions workflow.
- Fork this repository
- Make a local clone of that forked repository
- Install the latest stable release of Deno
- Run the setup script:
deno task setup - Update some files in the forked repository
- Update
.github/workflows/release.ymlto use your forked GitHub repository URL - All files in the
contentdirectory must contain your own content instead - All files in the
assetsdirectory must contain your own static files instead - Purchase your own license to use the Mass-Driver IO font or update the CSS to use other fonts
- Commit and push all of these changes to your forked repository
- Update the Settings for your forked repository via GitHub:
- Pages > Source: GitHub Actions
- Pages > Custom domain: use your own domain
- Update
config/CNAMEto use the same domain as you configured above - Setup Google Analytics:
- Create a new site in your own account
- Update your
.envfile'sGOOGLE_ANALYTICS_SITE_CODEvalue to use your newMeasurement ID
For a full list of the available Deno shortcut commands, run:
deno task| Folder / File | Description |
|---|---|
| .github/actions | Helper actions for GitHub Actions workflows |
| .github/workflows/release.yml | Triggers when a release tag is pushed. Runs tests, deploys to GitHub Pages and publishes a new GitHub release. |
| .vscode | Customised VS Code configuration for this repository. |
| assets | Static files like images and PDFs. |
| bin | Binary files used to ensure environment consistency, managed by Git LFS. |
| config | Supporting configuration files. |
| content | Website page content in Markdown files. |
| scripts | Helper scripts, refer to the Commands section above for more details. |
| src | Source code and related unit tests. |
| src/layouts | Nunjucks page layouts. |
| src/styles | CSS styles. |
| src/templates | Nunjucks page templates. |
| deno.json | Deno imports, tasks and configuration for this repository. |