Update README.md
This commit is contained in:
parent
6eca436ee1
commit
3981cdb7f6
@ -35,7 +35,9 @@ The actual data can be found here: https://gitlab.ub.uni-bielefeld.de/sporada/bu
|
||||
|
||||
## Import the data into the database
|
||||
|
||||
1. Befor importing the data we have to setup the tables in the PostgreSQL database. Do this with `docker-compose run web python manage.py makemigrations` followed by `docker-compose run web python manage.py migrate`.
|
||||
1. Befor importing the data we have to setup the tables in the PostgreSQL database.
|
||||
1. Do this with `docker-compose run web python manage.py makemigrations`
|
||||
1. followed by `docker-compose run web python manage.py migrate`.
|
||||
11. Now the data for the ngrams, speeches, and speakers has to be imported into the database of the app.
|
||||
12. Shutdown the app with the command `docker-compose down`.
|
||||
13. Change the owner rights of all files in the repository. This has to be done because every process inside a docker container is always executed with root privilage. Thus the created volumes are not accessable anymore. Change the rights with `sudo chown -R $USER:$USER .` This is only needed for linux systems.
|
||||
|
Loading…
Reference in New Issue
Block a user