blob: 98a417926d5346900e88e37f66b084ba6ee41cca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
post_install() {
echo You must now edit /etc/tandoor/tandoor.conf and setup a PostgreSQL
echo database and user, as explained here:
echo https://docs.tandoor.dev/install/manual/#setup-postgresql
echo After that, either reinstall the package or follow:
echo https://docs.tandoor.dev/install/manual/#initialize-the-application
}
post_upgrade() {
cd "/usr/share/tandoor"
source venv/bin/activate
export $(cat /etc/tandoor/tandoor.conf |grep "^[^#]" | xargs)
python manage.py migrate
python manage.py collectstatic --no-input
python manage.py collectstatic_js_reverse
}
|