mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
756 B
756 B
Installing PostgreSQL
If you intend to use argos with Postgresql, you can install it with the following commands:
pip install -e ".[postgresql]"
Here are a few steps for you to install postgresql on your system:
Debian
sudo apt install postgresql
By default, the postgres
user has no password and can hence only connect if ran by the postgres
system user. The following command will assign it:
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
psql postgres -c "CREATE DATABASE argos;"
psql postgres -c "ALTER DATABASE argos SET TIMEZONE TO 'UTC';"
MacOS
brew install postgresql@14
brew services start postgresql@14
createuser argos
createdb argos -O argos