Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Feb 22, 2024
1 parent e554e9c commit b2e571a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/Dev/install-with-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ displaying raw data and validation results on top of the OSM map.
Run this command for start processing data from 2 days ago:

```sh
docker exec -w /code/build underpass underpass -t $(date +%Y-%m-%dT%H:%M:%S -d "2 days ago")
docker exec -d underpass underpass -t $(date +%Y-%m-%dT%H:%M:%S -d "2 days ago")
```

On MacOS, the date command is different:
From MacOS, the date command is different:

```sh
docker exec -w /code/build underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)
docker exec -d underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)
```

For running underpass as a daemon, use the `-d` option:

```sh
docker exec -d -w /code/build underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)
docker exec -d underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)
```

### Stop and start underpass
Expand Down
6 changes: 3 additions & 3 deletions docs/Replication/Run.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ On MacOS, the date command is different

`underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`

Using Docker, add `docker exec -d -w /code/build underpass`
Using Docker, add `docker exec -d underpass`

`docker exec -w /code/build underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`
`docker exec -d underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`

For running underpass as a daemon, use the -d option:

`docker exec -d -w /code/build underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`
`docker exec -d underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`

4 changes: 2 additions & 2 deletions docs/get-started/Run.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ On MacOS, the date command is slighty different:

If you're running Underpass on a Docker container:

`docker exec -w /code/build underpass underpass -t $(date +%Y-%m-%dT%H:%M:%S -d "2 days ago")`
`docker exec underpass underpass -t $(date +%Y-%m-%dT%H:%M:%S -d "2 days ago")`

For running as a daemon:

`docker exec -d -w /code/build underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`
`docker exec -d underpass underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)`


2 changes: 1 addition & 1 deletion docs/get-started/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Use `-u <USERNAME>` `-h <HOST>` `-d <DATABASE>` `-d <PORT>` for the database con
If you installed Underpass with Docker, you might use the `-p 5439 -k yes` options.
./bootstrap.sh -r south-america -c uruguay -p 5439 -k yes
`./bootstrap.sh -r south-america -c uruguay -p 5439 -k yes`
Regions (-r) are:
africa
Expand Down

0 comments on commit b2e571a

Please sign in to comment.