Skip to content

Commit

Permalink
Move postgresql installation command into code block
Browse files Browse the repository at this point in the history
  • Loading branch information
andocz committed Mar 13, 2022
1 parent fde2325 commit 29028b6
Showing 1 changed file with 9 additions and 3 deletions.
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 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 29028b6

Please sign in to comment.