Update wiki.md

This commit is contained in:
Sebastian Lenzlinger 2024-01-08 14:29:34 +00:00
parent d2b311c731
commit a768ee8b99

View File

@ -21,10 +21,8 @@ deactivate
# List of used packages
See ``requirements.txt``
# Setting up postgres
# Setting up pgadmin as container serverd by nginx
# Load csv into db HOT FIX
# Postgres/SQL Things
## Load csv into db HOT FIX
Go to directory containing the csvs.
```bash
cd group-1/src/datasets/integrated/ && psql -h localhost -d proj_db -U sebl -p 5433
@ -35,7 +33,7 @@ Then manually copy
\copy mivcount FROM 'MivCount.csv' WITH CSV HEADER
```
# How to create a db dump from the command line
## How to create a db dump from the command line
```bash
pg_dump -U sebl -p 5433 -d proj_db > [dump_file].sql
```