Initial website

This commit is contained in:
Eike Kettner
2020-07-27 22:13:22 +02:00
parent dbd0f3ff97
commit f8c6f79b10
160 changed files with 8854 additions and 64 deletions

View File

@ -97,7 +97,7 @@ the nix package manager and to integrate it into NixOS.
The modules can be build by building the `configuration-test.nix` file
together with some nixpkgs version. For example:
``` shell
``` bash
nixos-rebuild build-vm -I nixos-config=./configuration-test.nix \
-I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz
```
@ -108,21 +108,21 @@ the system configuration can be found behind the `./result/system`
symlink. So it is possible to look at the generated systemd config for
example:
``` shell
``` bash
cat result/system/etc/systemd/system/docspell-joex.service
```
And with some more commands (there probably is an easier way…) the
config file can be checked:
``` shell
``` bash
cat result/system/etc/systemd/system/docspell-joex.service | grep ExecStart | cut -d'=' -f2 | xargs cat | tail -n1 | awk '{print $NF}'| sed 's/.$//' | xargs cat | jq
```
To see the module in action, the vm can be started (the first line
sets more memory for the vm):
``` shell
``` bash
export QEMU_OPTS="-m 2048"
./result/bin/run-docspelltest-vm
```

View File

@ -117,7 +117,7 @@ full-text-search {
This key is required if you want docspell to drop and re-create the
entire index. This is possible via a REST call:
``` shell
``` bash
$ curl -XPOST http://localhost:7880/api/v1/open/fts/reIndexAll/test123
```

View File

@ -132,7 +132,7 @@ Download the `oauth2.py` script from
[here](https://github.com/google/gmail-oauth2-tools) and first create
an *oauth2-token*:
``` shell
``` bash
./oauth2.py --user=your.name@gmail.com \
--client_id=106701....d8c.apps.googleusercontent.com \
--client_secret=5Z1...Kir_t \

View File

@ -90,7 +90,7 @@ notes about the used options (see `man curl`):
Go into the `tools/exim` directory and build the docker image:
``` shell
``` bash
docker build -t ds-exim:latest -f exim.dockerfile .
```
@ -114,7 +114,7 @@ variables as needed.
Finally start the container:
``` shell
``` bash
docker-compose up
```
@ -169,7 +169,7 @@ The mail is processed and results in an item:
However, if a mail is to an unknown collective or not to the
configured local domain, the server rejects it immediately:
``` shell
``` bash
fish ~> telnet localhost 25
Trying ::1...
Connected to localhost.