Skip to content

Commit

Permalink
Merge pull request #564 from andocz/doc-postgresql
Browse files Browse the repository at this point in the history
docs: add missing postgresql dependency and use apt everywhere
  • Loading branch information
bruntib authored Mar 15, 2022
2 parents f775739 + 29028b6 commit 83a6a9a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ sudo apt install postgresql-server-dev-<version>

```bash
# For SQLite database systems:
sudo apt-get install libodb-sqlite-dev libsqlite3-dev
sudo apt install libodb-sqlite-dev libsqlite3-dev

# For PostgreSQL database systems:
sudo apt-get install libodb-pgsql-dev postgresql-server-dev-<version>
sudo apt install libodb-pgsql-dev postgresql-server-dev-<version>
```


Expand Down
12 changes: 9 additions & 3 deletions doc/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ creating and using the database file.

### Using *PostgreSQL* from package manager

PostgreSQL can be installed from the package manager, using
`sudo apt-get install postgresql-<version>` (e.g. `postgresql-9.5`). This will
set up an automatically starting local server on the default port `5432`.
PostgreSQL can be installed from the package manager:

```bash
sudo apt install postgresql-<version>
# (e.g. postgresql-12)
```

This will set up an automatically starting local server on the default port
`5432`.

This server, by default, is only accessible for an automatically created system
user named `postgres`. However, CodeCompass's database layer only supports
Expand Down

0 comments on commit 83a6a9a

Please sign in to comment.