Update wiki.md
This commit is contained in:
parent
d2b311c731
commit
a768ee8b99
@ -21,10 +21,8 @@ deactivate
|
|||||||
# List of used packages
|
# List of used packages
|
||||||
See ``requirements.txt``
|
See ``requirements.txt``
|
||||||
|
|
||||||
# Setting up postgres
|
# Postgres/SQL Things
|
||||||
# Setting up pgadmin as container serverd by nginx
|
## Load csv into db HOT FIX
|
||||||
|
|
||||||
# Load csv into db HOT FIX
|
|
||||||
Go to directory containing the csvs.
|
Go to directory containing the csvs.
|
||||||
```bash
|
```bash
|
||||||
cd group-1/src/datasets/integrated/ && psql -h localhost -d proj_db -U sebl -p 5433
|
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
|
\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
|
```bash
|
||||||
pg_dump -U sebl -p 5433 -d proj_db > [dump_file].sql
|
pg_dump -U sebl -p 5433 -d proj_db > [dump_file].sql
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user