Skip to content

Commit b3b8bd8

Browse files
Merge pull request #303 from mapswipe/docs
Docs
2 parents 52387c6 + 4384e9a commit b3b8bd8

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/source/cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# Command Line Interface
22

3+
THIS DOCUMENT IS OUTDATED: Please use the `--help` flag of the CLI.
4+
5+
---
6+
37
This document describes how to use the command line interface of MapSwipe Worker.
48

59
In our current deployment setup the commands of the MapSwipe Workers CLI are hard-coded in the Docker-Compose File.
610

711
You can run these commands also using docker-compose:
12+
813
```
914
docker-compose run mapswipe_workers mapswipe_workers --help
1015
```

docs/source/dev_setup.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,20 @@ git checkout dev
2121

2222
### Configuration
2323

24-
MapSwipe Workers looks for configuration in `~/.config/mapswipe_workers`. (XDG Base Directory Specification is respected). It expects three files:
24+
MapSwipe Workers looks for configuration in `~/.config/mapswipe_workers`. (XDG Base Directory Specification is respected):
2525

26+
Create the configuration directory:
27+
`mkdir --parents ~/.config/mapswipe_workers`
28+
29+
MapSwipe Workers expects three files in the configuration directory:
2630
- `configuration.json`
2731
- `serviceAccountKey.json`
2832
- `logging.cfg`
2933

3034
Please refer to the [configuration](configuration.md) and [setup](setup.md) documentation for further details.
3135

3236
In addition the data directory for MapSwipe Workers needs to be created:
33-
`mkdir --parents .local/share/mapswipe_workers`
37+
`mkdir --parents ~/.local/share/mapswipe_workers`
3438

3539

3640
### Install MapSwipe Workers Python Package

0 commit comments

Comments
 (0)