Skip to content

Commit 955c4c5

Browse files
committed
fix(passport): miss static
1 parent d09c825 commit 955c4c5

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

rootfs/api/settings/production.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494

9595
INSTALLED_APPS = (
9696
'whitenoise.runserver_nostatic',
97+
'django.contrib.staticfiles',
9798
'django.contrib.admin',
9899
'django.contrib.auth',
99100
'django.contrib.contenttypes',

rootfs/api/static/css/user.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ h1.logo a {
3636
height: 98px;
3737
width: 69px;
3838
overflow: hidden;
39-
/*登录页logo图标*/
40-
/*background: url(../logo-vertical.png);*/
4139
background-repeat: no-repeat
4240
}
4341

rootfs/bin/boot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ echo ""
2727
echo "Database Migrations:"
2828
python /app/manage.py migrate --noinput
2929

30+
echo ""
31+
echo "Collect static files in a single location:"
32+
python manage.py collectstatic --noinput
33+
3034
echo ""
3135
if [ "${ADMIN_USERNAME}" ] && [ "${ADMIN_PASSWORD}" ] && [ "${ADMIN_EMAIL}" ]; then
3236
echo "Create administrator"

0 commit comments

Comments
 (0)