@@ -11,14 +11,33 @@ website in a local Docker development environment.
11
11
The CreativeCommons.org website is comprised of five components that are split
12
12
into two categories:
13
13
- dynamic component:
14
- - WordPress
14
+ - WordPress (Vocabulary Theme)
15
15
- static components:
16
16
- Chooser
17
17
- FAQ
18
- - Legal Tools (licenses and public domain dedications )
18
+ - Legal Tools (licenses and public domain)
19
19
- Platform Toolkit
20
20
21
21
22
+ ### Component repositories
23
+
24
+ Path label|Path|Component name|Component repositories
25
+ ----------|----|--------------|----------------------
26
+ Chooser|` /choose ` |Chooser|[ chooser] [ gh-chooser ]
27
+ FAQ|` /faq ` |FAQ|[ faq] [ gh-faq ]
28
+ Licenses| ` /licenses ` |CC Legal Tools|[ cc-legal-tools-app] [ gh-app ] , [ cc-legal-tools-data] [ gh-data ]
29
+ Platform Toolkit|` /platform/toolkit ` |Platform Toolkit|[ mp] [ gh-mp ]
30
+ Public Domain|` /publicdomain ` |CC Legal Tools|[ cc-legal-tools-app] [ gh-app ] , [ cc-legal-tools-data] [ gh-data ]
31
+ WordPress|` / ` (default)|Vocabulary Theme|[ vocabulary-theme] [ gh-vocab-theme ]
32
+
33
+ [ gh-chooser ] : https://github.com/creativecommons/chooser
34
+ [ gh-faq ] : https://github.com/creativecommons/faq
35
+ [ gh-app ] : https://github.com/creativecommons/cc-legal-tools-app
36
+ [ gh-data ] : https://github.com/creativecommons/cc-legal-tools-data
37
+ [ gh-mp ] : https://github.com/creativecommons/mp
38
+ [ gh-vocab-theme ] : https://github.com/creativecommons/vocabulary-theme
39
+
40
+
22
41
## Code of conduct
23
42
24
43
[ ` CODE_OF_CONDUCT.md ` ] ( CODE_OF_CONDUCT.md ) :
@@ -47,8 +66,6 @@ containers:
47
66
2 . ** index-phpmyadmin** - Database administration
48
67
- [ localhost:8003] ( http://localhost:8003/ )
49
68
3 . ** index-wpcli** - The command line interface for WordPress
50
- - This container does not have a persistent service. Expect the following
51
- message when you start the services: ` index-wpcli exited with code 0 `
52
69
4 . ** index-web** - Web server (WordPress and static HTML components)
53
70
- ** [ localhost:8080] ( http://localhost:8080/ ) **
54
71
5 . ** index-wpdb** - Database server for WordPress
@@ -65,7 +82,7 @@ containers:
65
82
├── faq
66
83
└── mp
67
84
```
68
- - [creativecommons/cc-legal-tools-data][gh-cc-legal-tools- data]
85
+ - [creativecommons/cc-legal-tools-data][gh-data]
69
86
- [creativecommons/chooser][gh-chooser]
70
87
- [creativecommons/faq][gh-faq]
71
88
- [creativecommons/mp][gh-mp]
@@ -87,11 +104,6 @@ containers:
87
104
7. Optionally: manually activate/configure `wordfence` in the GUI for now.
88
105
- **TODO:** automate in script
89
106
90
- [gh-cc-legal-tools-data]: https://github.com/creativecommons/cc-legal-tools-data
91
- [gh-chooser]: https://github.com/creativecommons/chooser
92
- [gh-faq]: https://github.com/creativecommons/faq
93
- [gh-mp]: https://github.com/creativecommons/mp
94
-
95
107
96
108
## Path URLs
97
109
@@ -130,25 +142,6 @@ WordPress Admin|[Dev `/wp-admin`][d7]|[Stage `/wp-admin`][s7]|[Prod `/wp-admin`]
130
142
[p7]: https://creativecommons.org/wp-admin/ "Prod WordPress Admin /wp-admin"
131
143
132
144
133
- ## Component repositories
134
-
135
- Path label|Path|Component name|Component repositories
136
- ----------|----|--------------|----------------------
137
- Chooser|`/choose`|Chooser|[chooser][gh-chooser]
138
- FAQ|`/faq`|FAQ|[faq][gh-faq]
139
- Licenses| `/licenses`|CC Legal Tools|[cc-legal-tools-app][gh-app], [cc-legal-tools-data][gh-data]
140
- Platform Toolkit|`/platform/toolkit`|Platform Toolkit|[mp][gh-mp]
141
- Public Domain|`/publicdomain`|CC Legal Tools|[cc-legal-tools-app][gh-app], [cc-legal-tools-data][gh-data]
142
- WordPress|`/` (default)|Vocabulary Theme|[vocabulary-theme][gh-vocab-theme]
143
-
144
- [gh-chooser]: https://github.com/creativecommons/chooser
145
- [gh-faq]: https://github.com/creativecommons/faq
146
- [gh-app]: https://github.com/creativecommons/cc-legal-tools-app
147
- [gh-data]: https://github.com/creativecommons/cc-legal-tools-data
148
- [gh-mp]: https://github.com/creativecommons/mp
149
- [gh-vocab-theme]: https://github.com/creativecommons/vocabulary-theme
150
-
151
-
152
145
## Dev configuration
153
146
154
147
@@ -200,10 +193,10 @@ Also see [`config/composer/composer.json`](config/composer/composer.json).
200
193
Also see [`config/composer/composer.json`](config/composer/composer.json).
201
194
202
195
203
- ## Stage configuration
196
+ ## Stage and Prod configuration
204
197
205
- The staging server is configured via Salt managed in the in
206
- [creativecommons/sre-salt-prime][sre-salt-prime] repository. The list below
198
+ The staging server and production server are configured via Salt managed in the
199
+ in [creativecommons/sre-salt-prime][sre-salt-prime] repository. The list below
207
200
include the specifics (is non-exhaustive):
208
201
- `pillars/`
209
202
- [`3_HST/index/`][salt-hst-index]
@@ -220,10 +213,6 @@ include the specifics (is non-exhaustive):
220
213
[salt-index-composer]: https://github.com/creativecommons/sre-salt-prime/blob/main/states/wordpress/files/index-composer.json
221
214
[salt-wordpress-index]: https://github.com/creativecommons/sre-salt-prime/blob/main/states/wordpress/index.sls
222
215
223
- ## Prod configuration
224
-
225
- _TODO_
226
-
227
216
228
217
## Copying
229
218
0 commit comments