deploy ready

This commit is contained in:
2024-10-06 22:46:08 +09:00
parent 31c478454b
commit fc20ca01b7
18 changed files with 17 additions and 13 deletions

View File

@@ -82,8 +82,12 @@ WSGI_APPLICATION = 'smartsoltech.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': os.getenv('POSTGRES_DB'),
'USER': os.getenv('POSTGRES_USER'),
'PASSWORD': os.getenv('POSTGRES_PASSWORD'),
'HOST': os.getenv('POSTGRES_HOST'), # Имя сервиса контейнера базы данных в docker-compose.yml
'PORT': 5432,
}
}
@@ -149,7 +153,7 @@ JAZZMIN_SETTINGS = {
"site_title": "Smartsoltech Admin",
"site_header": "Smartsoltech",
"welcome_sign": "Добро пожаловать в панель управления Smartsoltech",
"site_logo": "static/img/logo.svg",
"site_logo": "img/logo.svg",
"search_model": "web.Client",
"user_avatar": "web.Client.image",
"topmenu_links": [

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -4,8 +4,8 @@
<div class="container text-md-left">
<div class="row text-md-left">
<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">Company Name</h5>
<p>Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">SmartSolTech</h5>
<p>Future begins here...</p>
</div>
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mt-3">
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">Products</h5>
@@ -15,7 +15,7 @@
<p><a class="text-light" href="#" style="text-decoration: none;">Product 4</a></p>
</div>
<div class="col-md-3 col-lg-2 col-xl-2 mx-auto mt-3">
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">Useful Links</h5>
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">Usefu links:</h5>
<p><a class="text-light" href="#" style="text-decoration: none;">Your Account</a></p>
<p><a class="text-light" href="#" style="text-decoration: none;">Become an Affiliate</a></p>
<p><a class="text-light" href="#" style="text-decoration: none;">Shipping Rates</a></p>
@@ -23,16 +23,15 @@
</div>
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3">
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">Contact</h5>
<p><i class="fas fa-home mr-3"></i> 123 Street, City, State</p>
<p><i class="fas fa-envelope mr-3"></i> info@example.com</p>
<p><i class="fas fa-phone mr-3"></i> + 01 234 567 88</p>
<p><i class="fas fa-print mr-3"></i> + 01 234 567 89</p>
<p><i class="fas fa-home mr-3"></i> Gwangju-si Cheollanam-do, Republic of Korea</p>
<p><i class="fas fa-envelope mr-3"></i> a.choi@smartsoltech.kr</p>
<p><i class="fas fa-phone mr-3"></i> + 8 (210) 5693 6103</p>
</div>
</div>
<hr class="mb-4" />
<div class="row align-items-center">
<div class="col-md-7 col-lg-8">
<p class="text-md-left">© 2024 Company Name. All rights reserved.</p>
<p class="text-md-left">© 2024 SmartSolTech. All rights reserved.</p>
</div>
<div class="col-md-5 col-lg-4">
<div class="text-md-right">

View File

@@ -8,7 +8,7 @@
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link active" href="/services/">Услуги</a></li>
<li class="nav-item"><a class="nav-link" href="#">Наши проекты</a></li>
<li class="nav-item"><a class="nav-link" href="about">О нас</a></li>
<li class="nav-item"><a class="nav-link" href="/about/">О нас</a></li>
</ul>
</div>
</div>

View File

@@ -12,7 +12,7 @@ urlpatterns = [
path('blog/<int:pk>/', views.blog_post_detail, name='blog_post_detail'),
path('services/', views.services_view, name='services'),
path('create_order/<int:pk>/', views.create_order, name='create_order'),
path('about', views.about_view, name="about_view"),
path('about/', views.about_view, name="about_view"),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)