12 lines
296 B
Python
12 lines
296 B
Python
from os import system, chdir
|
|
|
|
|
|
# system("chown -R www:www /usr/src/app/calibredir")
|
|
# print("ownership of calibredir changed")
|
|
chdir("/usr/src/app/CalibreWebCompanion")
|
|
system("python ./manage.py makemigrations")
|
|
print("ran makemigrations")
|
|
system("python ./manage.py migrate")
|
|
print("migrate")
|
|
|