Skip to content

Commit 6b441b2

Browse files
committed
Review usage without Docker
1 parent 5dac624 commit 6b441b2

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ Follow the instruction of one of the backends:
1212
* [Postgres+PostGIS / Osmosis](backends/postgres_osmosis/README.md), Osmosis schema
1313
* [DuckDB+Spatial / QuackOSM](backends/duckdb_quackosm/README.md), Quackosm schema
1414

15-
### Without docker
15+
### Without Docker
1616

17-
It is possible to use Underpass-API without docker with the following instructions :
17+
It is possible to use Underpass-API without Docker with the following instructions :
1818

19-
* declare environment variables (add new lines in `~/.bashrc` or `~/.profile` then reload with `source ~/.bashrc`) :
20-
- DuckDB+Spatial / QuackOSM: `export BACKEND="DuckdbQuackosm"` and `export DB="/data/database.parquet"`
21-
- Postgres+PostGIS / Osmosis: `export BACKEND="PostgresOsmosis"` and `export "DATABASE_URL='postgresql://user:pw@host:5432/database"`
22-
* install software : `bundle install`
23-
* start server : `bundle exec rackup`
19+
* Install Ruby dependencies with `bundle install`.
20+
* Start the server with
21+
* `BACKEND="DuckdbQuackosm" DB="data/database.parquet" bundle exec rackup`
22+
* `BACKEND="PostgresOsmosis" DB="postgresql://user:pw@host:5432/database" bundle exec rackup`
23+
24+
Fo details about setup, looks at specific backend directory, and in Dockerfile for system dependencies.
2425

2526
## Query
2627

0 commit comments

Comments
 (0)