Skip to content

Commit 4ab9edc

Browse files
authored
📝(doc) update readme and add community installation methods (#1292)
## Purpose To showcase the work of the community to make docs deployment easier ## Proposal - [x] Added README.md in /docs/installation with methods contributed by the community - [x] Added a list of public instances on the main README.md - [x] Updated the warnings around Blocknote XL packages from AGPL to GPL Please ensure the following items are checked before submitting your pull request: - [x] I have read and followed the [contributing guidelines](https://github.com/suitenumerique/docs/blob/main/CONTRIBUTING.md) - [x] I have read and agreed to the [Code of Conduct](https://github.com/suitenumerique/docs/blob/main/CODE_OF_CONDUCT.md) - [x] I have signed off my commits with `git commit --signoff` (DCO compliance) - [x] I have signed my commits with my SSH or GPG key (`git commit -S`) - [x] My commit messages follow the required format: `<gitmoji>(type) title description` - [ ] I have added a changelog entry under `## [Unreleased]` section (if noticeable change) - [ ] I have added corresponding tests for new features or bug fixes (if applicable) --------- Signed-off-by: virgile-dev <[email protected]>
1 parent 0892c05 commit 4ab9edc

File tree

3 files changed

+51
-9
lines changed

3 files changed

+51
-9
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,23 @@ Docs is a collaborative text editor designed to address common challenges in kno
4949
* 📚 Turn your team's collaborative work into organized knowledge with Subpages.
5050

5151
### Self-host
52-
🚀 Docs is easy to install on your own servers
5352

54-
Available methods: Helm chart, Nix package
55-
56-
In the works: Docker Compose, YunoHost
57-
58-
⚠️ For some advanced features (ex: Export as PDF) Docs relies on XL packages from BlockNote. These are licenced under AGPL-3.0 and are not MIT compatible. You can perfectly use Docs without these packages by setting the environment variable `PUBLISH_AS_MIT` to true. That way you'll build an image of the application without the features that are not MIT compatible. Read the [environment variables documentation](/docs/env.md) for more information.
53+
#### 🚀 Docs is easy to install on your own servers
54+
We use Kubernetes for our [production instance](https://docs.numerique.gouv.fr/) but also support Docker Compose. The community contributed a couple other methods (Nix, YunoHost etc.) check out the [docs](/docs/installation/README.md) to get detailed instructions and examples.
55+
56+
#### 🌍 Known instances
57+
We hope to see many more, here is an incomplete list of public Docs instances (urls listed in alphabetical order). Feel free to make a PR to add ones that are not listed below🙏
58+
59+
| | | |
60+
| --- | --- | ------- |
61+
| Url | Org | Public |
62+
| docs.numerique.gouv.fr | DINUM | French public agents working for the central administration and the extended public sphere. ProConnect is required to login in or sign up|
63+
| docs.suite.anct.gouv.fr | ANCT | French public agents working for the territorial administration and the extended public sphere. ProConnect is required to login in or sign up|
64+
| notes.demo.opendesk.eu | ZenDiS | Demo instance of OpenDesk. Request access to get credentials |
65+
| notes.liiib.re | lasuite.coop | Free and open demo to all. Content and accounts are reset after one month |
66+
67+
#### ⚠️ Advanced features
68+
For some advanced features (ex: Export as PDF) Docs relies on XL packages from BlockNote. These are licenced under GPL and are not MIT compatible. You can perfectly use Docs without these packages by setting the environment variable `PUBLISH_AS_MIT` to true. That way you'll build an image of the application without the features that are not MIT compatible. Read the [environment variables documentation](/docs/env.md) for more information.
5969

6070
## Getting started 🔧
6171

docs/env.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ NODE_ENV=production NEXT_PUBLIC_PUBLISH_AS_MIT=false yarn build
135135
| PUBLISH_AS_MIT | Removes packages whose licences are incompatible with the MIT licence (see below) | true |
136136

137137
Packages with licences incompatible with the MIT licence:
138-
* `xl-docx-exporter`: [AGPL-3.0](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-docx-exporter/LICENSE),
139-
* `xl-pdf-exporter`: [AGPL-3.0](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-pdf-exporter/LICENSE),
140-
* `xl-multi-column`: [AGPL-3.0](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-multi-column/LICENSE).
138+
* `xl-docx-exporter`: [GPL](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-docx-exporter/LICENSE),
139+
* `xl-pdf-exporter`: [GPL](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-pdf-exporter/LICENSE),
140+
* `xl-multi-column`: [GPL](https://github.com/TypeCellOS/BlockNote/blob/main/packages/xl-multi-column/LICENSE).
141141

142142
In `.env.development`, `PUBLISH_AS_MIT` is set to `false`, allowing developers to test Docs with all its features.
143143

docs/installation/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Installation
2+
If you want to install Docs you've come to the right place.
3+
Here are a bunch of resources to help you install the project.
4+
5+
## Kubernetes
6+
We (Docs maintainers) are only using the Kubernetes deployment method in production. We can only provide advanced support for this method.
7+
Please follow the instructions laid out [here](/docs/installation/kubernetes.md).
8+
9+
## Docker Compose
10+
We are aware that not everyone has Kubernetes Cluster laying around 😆.
11+
We also provide [Docker images](https://hub.docker.com/u/lasuite?page=1&search=impress) that you can deploy using Compose.
12+
Please follow the instructions [here](/docs/installation/compose.md).
13+
⚠️ Please keep in mind that we do not use it ourselves in production. Let us know in the issues if you run into troubles, we'll try to help.
14+
15+
## Other ways to install Docs
16+
Community members have contributed several other ways to install Docs. While we owe them a big thanks 🙏, please keep in mind we (Docs maintainers) can't provide support on these installation methods as we don't use them ourselves and there are two many options out there for us to keep track of. Of course you can contact the contributors and the broader community for assistance.
17+
18+
Here is the list of other methods in alphabetical order:
19+
- Coop-Cloud: [code](https://git.coopcloud.tech/coop-cloud/lasuite-docs)
20+
- Nix: [Packages](https://search.nixos.org/packages?channel=unstable&query=lasuite-docs), ⚠️ unstable
21+
- Podman: [code][https://codeberg.org/philo/lasuite-docs-podman], ⚠️ experimental
22+
- YunoHost: [code](https://github.com/YunoHost-Apps/lasuite-docs_ynh), [app store](https://apps.yunohost.org/app/lasuite-docs)
23+
24+
Feel free to make a PR to add ones that are not listed above 🙏
25+
26+
## Cloud providers
27+
Some cloud providers are making it easy to deploy Docs on their infrastructure.
28+
29+
Here is the list in alphabetical order:
30+
- Clever Cloud 🇫🇷 : [market place][https://www.clever-cloud.com/product/docs/], [technical doc](https://www.clever.cloud/developers/guides/docs/#deploy-docs)
31+
32+
Feel free to make a PR to add ones that are not listed above 🙏

0 commit comments

Comments
 (0)