Skip to content

Commit 39bfba3

Browse files
authored
Merge branch 'master' into copilot/fix-216
2 parents bfba679 + bed86cf commit 39bfba3

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,26 @@ You should create a named branch for your changes, before committing, as using P
5252
git checkout -b my-feature-branch
5353
```
5454

55+
## Current project structure
56+
57+
Note - the goal is to arrive at a better structure, that is a work in progress.
58+
59+
- .github/ -> github workflows, linter configurations, utility scripts (including desk ones - not ideal)
60+
- _data -> json file for eleventy data
61+
- _drafts -> WIP posts, old content that should be completed, or pulled and should be on another blog. It has some utility scripts and tools that should not be here.
62+
- _image_sources -> SVG files, high resolution images before processing, XMP or image process data files. Should not be uploaded to the site. Candidate for LFS.
63+
- _includes -> liquid include files carried from jekyll into 11ty. They are still very much in use - templates, layouts, render components and utilities.
64+
- _posts -> json data for the list of blog posts. Might be redundant, the state of that json file needs checking and moving/removal if it's not in use.
65+
- admin -> netlify admin tools, intended for an easy way to add/edit posts without being directly in github. Not currently working, but has worked before.
66+
- assets -> a mixutre of style assets (logos and tools), downloadable file assets, and images for posts or wiki pages. Ideally - it should only be the style assets with the other parts in galleries.
67+
- content -> Currently all blog posts, wiki and pages are here, with some exceptions. Eventaully, all site rendered markdown and images should be in this structure and not the root folder.
68+
- error_pages -> Landing pages for 404's and similar
69+
- galleries -> Where pictures to be served on the site, and files for downloads should be. Should be under the content folder.
70+
- navigation and indexes -> archive, rss feeds, sitemap pages. Should also be under content. Has site build js which should be in the src folder?
71+
- products -> content for the old shop. Still in some wiki page references, and device specifications - which should go to the wiki. Anything relating to price, shipping should be removed. This folder should be removed.
72+
- src -> Eleventy etensions in JS, scss style stuff. All used in site generation
73+
- / - config scripts for eleventy, tools, linters, readmes. Dockerfiles for serving, some utility tools. It has the main content index and favicon, which should not be there.
74+
5575
## Running locally
5676

5777
You may need to determine dependencies - the docker method is preferred. Direct `npm` usage on the host is discouraged to avoid version mismatches.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ services:
8787
ports:
8888
- 8082:80
8989
healthcheck:
90-
test: ["CMD", "curl", "-f", "http://localhost"]
90+
test: ["CMD", "curl", "-o", "/dev/null", "-s", "http://localhost"]
9191
interval: 10s
9292
timeout: 5s
9393
retries: 5

serve.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM httpd:2.4.64 AS httpd_serve
2424
# Install curl for health checks
2525
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
2626

27-
# Copy the http2 configuration
28-
COPY .github/scripts/staging/http2.conf /usr/local/apache2/conf/http2.conf
27+
# COPY _site /var/www/html/
28+
COPY .github/scripts/staging/default.conf /usr/local/apache2/conf/httpd.conf
2929

3030
FROM base

0 commit comments

Comments
 (0)