Skip to content

Latest commit

 

History

History
97 lines (64 loc) · 3.36 KB

README.md

File metadata and controls

97 lines (64 loc) · 3.36 KB

The Dispersed Memorial Forest

A Community Covid Memorial for Dumfries & Galloway

'Remembering Together Dumfries & Galloway — The Dispersed Memorial Forest', a ScotGov-funded initiative in Dumfries & Galloway, Scotland, by commissioned artists t s Beall and Katie Anderson.

This repo contains the project's primary website, or its mirror.

For more information about the project, please visit website:
https://memorialforestdg.co.uk/ | https://memorialforestdg.github.io

Please note that public access to this archive does not imply an open-source license or a waiver of copyright protections. For full details, please see our USAGE LICENSE

Copyright © 2024 Remembering Together Dumfries & Galloway, Dr. ts Beall, Katie Anderson.

All Rights Reserved

Setup and Cloning

To clone the repository with submodules:

git clone --recurse-submodules https://github.com/rememberingtogetherdg/rememberingtogetherdg.github.io

Then cd into the rememberingtogetherdg.github.io folder, and update the submodules:

git submodule update --remote

Remotes

git remote -v to see the remotes.

The correct response should be:

origin  https://github.com/memorialforestdg/memorialforestdg.github.io (fetch)
origin  https://github.com/memorialforestdg/memorialforestdg.mirror (push)
origin  https://github.com/memorialforestdg/memorialforestdg.github.io (push)

Solus-CSS

If making customisations to Solus-CSS cd to the deps/solus-tachyons-sass folder and run:

npm install

All changes to this project should be tracked on the "RT" branch.

git chagebranch RT

To build the SASS files run:

npm run build # build the css
npm run dev   # watch for changes

Astro Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

Commits, Deploys & Mirrors

  • Any commits and pushes to the main branch will trigger GitHub actions which build and deploy the site GitHub Pages.

  • This repo has two upstream remotes: rememberingtogetherdg.github.io and rememberingtogetherdg.mirror.

  • Always work directly with rememberingtogetherdg.github.io. eg pull and push to it.

  • Do NOT push to rememberingtogetherdg.mirror directly.

  • Do NOT make edits on either repo using the GitHub interface, otherwise they will be out of sync.

git pull # pulls from rememberingtogetherdg.github.io

git push # pushes to both rememberingtogetherdg.github.io AND rememberingtogetherdg.mirror

Mutiple Artifacts Errrors

If your build fails with 'multiple artifacts', see errors, see this discussion: https://github.com/orgs/community/discussions/111260