Skip to content

Commit

Permalink
Update config-vars.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxGuy312 authored May 8, 2023
1 parent f9bd1d7 commit bb01c49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/installation/variables/config-vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,13 @@ The bot will send token after that.

{% tabs %}
{% tab title="Local Database" %}
{% code title="Run this in terminal" overflow="wrap" %}
{% code title="First install postgres" overflow="wrap" %}
```batch
sudo -u postgres bash -c "psql -c \"CREATE USER postgres WITH PASSWORD 'your_password';\" && createdb catuserbot -O postgres"
sudo apt install postgresql postgresql-contrib
```
{% code title="Then run this in terminal" overflow="wrap" %}
```batch
sudo -u postgres bash -c "psql -c \"ALTER USER postgres WITH PASSWORD 'your_password';\" && createdb catuserbot -O postgres"
```
{% endcode %}

Expand Down

0 comments on commit bb01c49

Please sign in to comment.