mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Hmpf
This commit is contained in:
parent
5e928a55cb
commit
0bd2cfd106
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,7 @@ ynh_store_file_checksum --file="$final_path/coin/settings_local.py"
|
||||||
#=================================================
|
#=================================================
|
||||||
# SERVE STATIC FILES IN PRODUCTION MODE
|
# SERVE STATIC FILES IN PRODUCTION MODE
|
||||||
#=================================================
|
#=================================================
|
||||||
ln -s $final_path/$app/static $final_path/static
|
ln -s $final_path/coin/static $final_path/static
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP DATABASE
|
# SETUP DATABASE
|
||||||
|
@ -143,6 +143,7 @@ ln -s $final_path/$app/static $final_path/static
|
||||||
chown -R $app:www-data $final_path
|
chown -R $app:www-data $final_path
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
|
rm -rf coin/billing/migrations/00*.py # FIXME : fix the damn migrations instead of doing this ...
|
||||||
$final_path/venv/bin/python manage.py makemigrations --noinput
|
$final_path/venv/bin/python manage.py makemigrations --noinput
|
||||||
$final_path/venv/bin/python manage.py migrate --noinput
|
$final_path/venv/bin/python manage.py migrate --noinput
|
||||||
$final_path/venv/bin/python manage.py collectstatic --noinput
|
$final_path/venv/bin/python manage.py collectstatic --noinput
|
||||||
|
|
Loading…
Add table
Reference in a new issue