-
Notifications
You must be signed in to change notification settings - Fork 6
Improve how to deploy a collection #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
0a3194d
dd477c4
abe1dd2
8033aec
115e36e
bc04f4a
949df7c
e62abd9
380f03e
409bffc
4dbf569
3312601
532d689
2a23b6d
f6c4616
dc53468
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,70 @@ | ||||||
--- | ||||||
title: Manage a custom terms type | ||||||
weight: 6 | ||||||
--- | ||||||
|
||||||
# How to manage a custom terms type | ||||||
|
||||||
When tracking terms and conditions across different services, you might encounter situations where a service uses terms types that aren't yet supported by Open Terms Archive. | ||||||
This guide will help you handle these custom terms types effectively, whether you're working on a new collection or expanding an existing one. | ||||||
|
||||||
## Understanding the validation | ||||||
|
||||||
Open Terms Archive validates terms types to ensure consistency and quality across collections. When you encounter a validation error like: | ||||||
|
||||||
```shell | ||||||
1) Service declarations validation | ||||||
<service_name> | ||||||
valid declaration schema: | ||||||
Error: | ||||||
|
||||||
data/terms must be equal to one of the allowed values (in entire file) | ||||||
``` | ||||||
|
||||||
This means the terms type you're trying to use isn't in the official list of supported types. | ||||||
|
||||||
|
||||||
## Before going further | ||||||
|
## Before going further | |
## Double-check potential synonyms |
Ndpnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Ndpnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this should be part of a how-to.
Ndpnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Take over a collection | ||
weight: 4 | ||
weight: 5 | ||
--- | ||
|
||
# How to take over a collection | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: Terminate a collection | ||
weight: 3 | ||
weight: 4 | ||
--- | ||
|
||
# How to terminate a collection | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -5,141 +5,236 @@ weight: 1 | |||||
|
||||||
# How to deploy a collection | ||||||
|
||||||
This guide will help you deploy an Open Terms Archive collection to a server. | ||||||
This guide will help you deploy an Open Terms Archive collection to a server. The deployment is automated using [Ansible](https://docs.ansible.com/ansible/latest/index.html) and will set up the Open Terms Archive engine and configure it to track your collection's terms. | ||||||
|
||||||
## System Overview | ||||||
|
## System Overview | |
## System overview |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shoudln't this be a reference or an explanation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- At least one declaration added to your collection | |
- At least one declaration in your collection (if you created your declaration from the Demo template, one is provided by default) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we use the demo template, all declarations are removed by the first time setup process.
Ndpnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Ndpnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this part obsolete?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it is used for sending error emails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this section really be in a “how-to” guide? 🤔