argos/docs/installation/postgresql.md
2024-03-25 13:56:45 +01:00

601 B

Use with PostgreSQL

If you intend to use argos with Postgresql, which is recommended for production, you can install it with the following commands:

pip install -e ".[postgres]"

Here are a few steps for you to install PostgreSQL on your system:

Debian

sudo apt install postgresql
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

brew install postgresql@14
brew services start postgresql@14
createuser argos
createdb argos -O argos