summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-10-26 08:24:51 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-10-26 08:24:51 +0100
commit2f4dc470d7385049ba69c85f54d2ff1ea4b80301 (patch)
tree06afa077095d449c9d8ba921431f5620f59a915d /README.md
parent7cfe1777f9b50c58d58d5df0e0ff20c540db8bd0 (diff)
More fixes
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/README.md b/README.md
index d8d3d47..69c8925 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,9 @@ git clone https://github.com/Sycamost/lallans-wabsteid-astro.git \
[a basic GitHub tutorial](https://docs.github.com/en/get-started/quickstart/hello-world)
and here's a
[GitHub guide to forking](https://docs.github.com/en/get-started/quickstart/fork-a-repo).
+* Can use a [command-line terminal](https://www.freecodecamp.org/news/command-line-for-beginners/).
+* Can use [NPM](https://nodesource.com/blog/an-absolute-beginners-guide-to-using-npm/)
+ to install dependencies and run scripts.
## Writing a news post
@@ -33,17 +36,20 @@ git clone https://github.com/Sycamost/lallans-wabsteid-astro.git \
2. Copy and paste an existing news article in both English and Scots. You will
find these in `src/content/news/en-GB` and `src/content/news/scots` respectively.
3. Rename the news article following the existing pattern, which is the date of
- publication followed by the title in
+ publication in `YYYY-MM-DD` format followed by the title in
[kebab case](https://www.freecodecamp.org/news/snake-case-vs-camel-case-vs-pascal-case-vs-kebab-case-whats-the-difference/#whatiskebabcaseanamekebabcasea)
and the `.mdx` file extension. For example, `2023-12-24-eiks-an-ens-3000.mdx`
would be Eiks an Ens 3000, published on the 24th of December 2023.
4. Edit the news articles to contain your desired content.
-5. Check it looks OK by running the website locally with `npm start`.
+5. Check it looks OK by running the website locally with `npm install && npm start`.
6. When it looks OK, stage, commit and push your new news articles.
7. Make a pull request to merge your new news articles into the `dev` branch upstream.
8. Once a code owner approves your pull request, it'll get merged into `dev`, and
(unless you yourself are a code owner) it is from that point no longer your
- problem!
+ problem! From that point, it'll be live on
+ [staging.scotsleidassocie.org](https://staging.scotsleidassocie.org),
+ and it'll go live on [scotsleidassocie.org](https://scotsleidassocie.org) once
+ a code owner merges `dev` into `main`.
## Adding an issue of Lallans