Skip to content

Commit 0915e1e

Browse files
Merge pull request #373 from rustprooflabs/docs-improvements2
Improvement to docs, license update
2 parents 0a2476e + 0e5a4f9 commit 0915e1e

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2023 Ryan Lambert
3+
Copyright (c) 2020-2024 Ryan Lambert
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/src/quick-start.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,18 @@ logic, an post-processing steps required. Features include:
4949

5050
This section outlines a typical import using Docker to run PgOSM Flex.
5151

52-
Create directory for the `.osm.pbf` file, output `.sql` file, log output, and
53-
the osm2pgsql command ran.
52+
### Prepare
53+
54+
Create directory for the `.osm.pbf` file and output `.sql` file. These files
55+
are automatically created by PgOSM Flex.
5456

5557

5658
```bash
5759
mkdir ~/pgosm-data
5860
```
5961

62+
### Run
63+
6064
Set environment variables for the temporary Postgres connection in Docker.
6165
These are required for the Docker container to run.
6266

@@ -77,6 +81,21 @@ docker run --name pgosm -d --rm \
7781
-p 5433:5432 -d rustprooflabs/pgosm-flex
7882
```
7983

84+
### Check Docker container running
85+
86+
It is worth verifying the Docker container is successfully running with `docker ps -a`.
87+
Check for a `STATUS` similar to `Up 4 seconds` shown in the example output below.
88+
89+
```bash
90+
$ docker ps -a
91+
92+
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
93+
e7f80926a823 rustprooflabs/pgosm-flex "docker-entrypoint.s…" 5 seconds ago Up 4 seconds 0.0.0.0:5433->5432/tcp, :::5433->5432/tcp pgosm
94+
```
95+
96+
97+
### Execute PgOSM Flex
98+
8099
Use `docker exec` to run the processing for the Washington D.C subregion.
81100
This example uses three (3) parameters to specify the total system RAM (8 GB)
82101
along with a region/subregion.

0 commit comments

Comments
 (0)