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

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
emi420 committed Oct 23, 2023
1 parent b7fac11 commit 92e8fe9
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/docs/Dev/bootstrapsh.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Will look for these files:
ecuador-latests.osm.pbf
ecuador.poly
```

9 changes: 6 additions & 3 deletions docs/docs/Dev/changefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ state.txt file from planet, scanning for files isn't really
practical. Once the proper data file is found, then it's easy to just
download the next data file in sequence.

Underpass has a table in it's database to store the timestamps, and
paths to the data files. That makes it possible to quickly find the
appropriate starting data file.
Currently, the function `PlanetReplicator::findRemotePath` is the one
responsible for returning the file path from a timestamp. It's using
a list of of timestamps and sequence numbers stored in a local file
located in `config/replicator/confiplanetreplicator.yaml` for
calculating the path. This approach must be reviewed in order to
have better precision without the need of keeping that file up-to-date.
4 changes: 3 additions & 1 deletion docs/docs/Dev/chroots.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Building Packages in a Chroot
[ THIS DOCUMENT NEEDS REVIEW ]

# Building Packages in a Chroot

To distribute binary packages for a variety of platforms of varying
versions, it's common to use a *chroot* to build in. This is to make
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/Dev/dataflow.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Underpass Data Flow

![Flow Chart](dataflow.png)

The Overpass data storage contains information from several
sources. Underpass has to duplicate this collection of data and
aggregate it into a similar structure. The primary data is the map
Expand Down Expand Up @@ -127,5 +129,3 @@ Underpass currently writes to 1 primary database: the
*underpass* database, which stores all the calculated statistics, data
validation results and raw OSM data that also gets updated every minute.

 
![Flow Chart](dataflow.png)
8 changes: 6 additions & 2 deletions docs/docs/get-started/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

If you want to get started really quick and easy, use the [Docker installation](/Dev/install-with-docker)

## Build from source

Check the [build documentation](/get-started/Build)

## Linux

`apt-get install underpass`
<s>`apt-get install underpass`</s> (not available yet)

## MacOS

`brew install underpass`
<s>`brew install underpass`</s> (not available yet)

2 changes: 2 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ nav:
- Developers:
- Coding: Dev/coding.md
- Debugging: Dev/debugging.md
- ChangeFile: Dev/changefile.md
- Data flow: Dev/dataflow.md
- Engine: Dev/engine.md
- OSM Stats: Dev/osmstats.md
- Statistics: Dev/statistics.md
- Validation: Dev/validation.md
- Replication: Dev/replication.md
- Utility: Dev/utility.md
- Chroots: Dev/chroots.md

0 comments on commit 92e8fe9

Please sign in to comment.