23 lines
744 B
Plaintext
23 lines
744 B
Plaintext
In here we can put instructions on how to run this / any general info
|
|
|
|
|
|
ubuntu packages:
|
|
sudo apt-get install -y mediainfo
|
|
|
|
pip packages:
|
|
* pymediainfo
|
|
* PIL (should be there by default)
|
|
* ExifRead
|
|
* opencv-python
|
|
* datetime
|
|
* pytz
|
|
|
|
|
|
To rebuild DB:
|
|
|
|
###BE CAREFUL this completely destroys the database contents and starts from
|
|
#scratch, when we get real data, we will instead cp a backup file not the
|
|
#tables.sql
|
|
|
|
( cd /srv/docker/config/ ; sudo docker-compose stop padb ; yes | sudo docker-compose rm padb ; sudo rm -rf /srv/docker/container/padb/data/ ; sudo cp /home/ddp/src/photoassistant/tables.sql /srv/docker/container/padb/docker-entrypoint-initdb.d/tables.sql ; sudo docker-compose up padb )
|