You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@
6
6
-[Local Development](#local-development)
7
7
-[Linting](#linting)
8
8
-[Build and serve](#build-and-serve)
9
+
-[Deployment](#deployment)
10
+
-[GitHub Pages](#github-pages)
11
+
-[Docker Image](#docker-image)
9
12
-[Contributing](#contributing)
10
13
11
14
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
@@ -24,6 +27,7 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
24
27
10. Each page is built using the [template](/template.mdx) (validated by `npm run lint:mdx`).
25
28
11. Custom components should not implement their own title, they should use the correct heading (#) level in the page itself to ensure proper url based linking.
26
29
12. Images need to have padding applied around them, optimally `2rem`.
30
+
13. Code has no 'TODO' blocks, only a 'FUTURE_WORK' block may be present with a reference to an issue or task.
27
31
28
32
## Installation
29
33
@@ -65,6 +69,25 @@ And then to serve the newly created build, simply run.
65
69
npm run serve
66
70
```
67
71
72
+
## Deployment
73
+
74
+
To deploy the website, there are multiple options available depending on your hosting preferences. But first you should create a `.env` file in the root directory of the project with the following content:
75
+
76
+
```env
77
+
# This value MUST start and end with a slash '/', unless it's the root '/'.
78
+
BASE_URL=''
79
+
```
80
+
81
+
This step is only necessary when you want to differ from the default `baseUrl` value of `/`. This is particularly useful when deploying to GitHub Pages under a repository, e.g., `https://username.github.io/repository-name/`, where the `BASE_URL` should be set to `/repository-name/`. See the [Docusaurus docs](https://docusaurus.io/docs/api/docusaurus-config#baseUrl) for more information
82
+
83
+
### GitHub Pages
84
+
85
+
T.B.A
86
+
87
+
### Docker Image
88
+
89
+
T.B.A
90
+
68
91
## Contributing
69
92
70
93
Would you like to propose changes to the pattern-wiki? Then feel free to create a pull request in this repository. Make sure that your PR follows the standards as set in the [coding standards](#coding-standards). These standards ensure that the wiki is of high quality and that both the users and developers can find the right information quickly. The steps to work on an issue or task are as follows:
0 commit comments