mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-30 00:49:37 +00:00
add collect static command for rest/swagger ui
This commit is contained in:
@@ -260,9 +260,14 @@ install_webvirtcloud () {
|
||||
|
||||
echo "* Django Migrate."
|
||||
log "$PYTHON $APP_PATH/manage.py migrate"
|
||||
$PYTHON $APP_PATH/manage.py migrate
|
||||
$PYTHON $APP_PATH/manage.py makemigrations
|
||||
|
||||
$PYTHON $APP_PATH/manage.py migrate
|
||||
|
||||
|
||||
echo "* Django Collect Static"
|
||||
log "$PYTHON $APP_PATH/manage.py collectstatic --noinput"
|
||||
$PYTHON $APP_PATH/manage.py collectstatic --noinput
|
||||
|
||||
chown -R "$nginx_group":"$nginx_group" "$APP_PATH"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user