diff --git a/docs/wiki.md b/docs/wiki.md index cb937d3..14311fa 100755 --- a/docs/wiki.md +++ b/docs/wiki.md @@ -22,4 +22,15 @@ deactivate See ``requirements.txt`` # Setting up postgres -# Setting up pgadmin as container serverd by nginx \ No newline at end of file +# 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 +``` \ No newline at end of file