diff --git a/.gitignore b/.gitignore index 576acad6..75721265 100644 --- a/.gitignore +++ b/.gitignore @@ -55,6 +55,7 @@ coverage.xml .static_storage/ .media/ local_settings.py +/static # Flask stuff: instance/ diff --git a/project/settings.py b/project/settings.py index 50b67717..01e992e0 100644 --- a/project/settings.py +++ b/project/settings.py @@ -61,7 +61,9 @@ ROOT_URLCONF = 'project.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [], + 'DIRS': [ + 'project', + ], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ @@ -126,6 +128,9 @@ USE_TZ = True STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, "static") +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, "web/build"), +] MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, "media") diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html new file mode 100644 index 00000000..5ca943b2 --- /dev/null +++ b/project/templates/lilcity/index.html @@ -0,0 +1,317 @@ +{% load static %} + + + +
+ +