argos/docs/installation/postgresql.md
2024-03-14 15:19:44 +01:00

30 lines
566 B
Markdown

# Installing PostgreSQL
If you intend to use argos with Postgresql, you can install it with the following commands:
```bash
pip install -e ".[postgres]"
```
Here are a few steps for you to install postgresql on your system:
## Debian
```bash
sudo apt install postgresql
```
```bash
sudo -u postgres createuser -P argos
sudo -u postgres createdb -O argos argos
sudo -u postgres psql -c "ALTER DATABASE argos SET TIMEZONE TO 'UTC';"
```
## MacOS
```bash
brew install postgresql@14
brew services start postgresql@14
createuser argos
createdb argos -O argos
```