mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
30 lines
601 B
Markdown
30 lines
601 B
Markdown
# Use with PostgreSQL
|
|
|
|
If you intend to use argos with Postgresql, which is recommended for production, 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
|
|
```
|