Add instructions to wiki.md.

Instructions how to load csv into db manually since script might not work because of access rights restrictions.
This commit is contained in:
Sebastian Lenzlinger 2024-01-05 19:09:47 +01:00
parent 758bfa45f3
commit c4a139c6ef

View File

@ -23,3 +23,14 @@ See ``requirements.txt``
# Setting up postgres # Setting up postgres
# Setting up pgadmin as container serverd by nginx # Setting up pgadmin as container serverd by nginx
# 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
```
Then manually copy
```postgresql
\copy FootBikeCount FROM 'FootBikeCount.csv' WITH CSV HEADER
\copy mivcount FROM 'MivCount.csv' WITH CSV HEADER
```