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:
parent
758bfa45f3
commit
c4a139c6ef
11
docs/wiki.md
11
docs/wiki.md
@ -23,3 +23,14 @@ See ``requirements.txt``
|
||||
|
||||
# Setting up postgres
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user