Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Jul 6, 2023
1 parent 1c6d4c8 commit a71562a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,13 @@ Select the region you want to work with and bootstrap the database with data.

### 3. Run

For keeping the database up-to-date, you must run underpass.
For keeping the database up-to-date, you must run underpass:

`./underpass -t last`
`./underpass -t $(date +%Y-%m-%dT%H:%M:%S -d "2 days ago")'`

On MacOS, the date command works different:

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

A a process will start downloading and processing OSM data until lastest data
is reached, and then it will continue updating data every minute.
Expand Down

0 comments on commit a71562a

Please sign in to comment.