Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr authored May 31, 2022
1 parent c6ac8a5 commit e5ab66d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ You need to install libspatialite before continuing
```bash
# For Ubuntu
sudo apt install libsqlite3-mod-spatialite

# For Android (Termux)
pkg install libspatialite
```

```bash
Expand All @@ -19,6 +22,8 @@ go install -v github.com/tsirysndr/mada@latest

## 🚀 Usage

If you want to use postgresql (with postgis extension) instead of sqlite (with spatialite), add the environment variable MADA_POSTGRES_URL, for example ``export MADA_POSTGRES_URL=postgres://postgres@localhost:5432/mada?sslmode=disable``

```bash
~> mada search miaramasoandro

Expand Down

0 comments on commit e5ab66d

Please sign in to comment.