deploy ready
@@ -82,8 +82,12 @@ WSGI_APPLICATION = 'smartsoltech.wsgi.application'
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': BASE_DIR / 'db.sqlite3',
|
'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_title": "Smartsoltech Admin",
|
||||||
"site_header": "Smartsoltech",
|
"site_header": "Smartsoltech",
|
||||||
"welcome_sign": "Добро пожаловать в панель управления Smartsoltech",
|
"welcome_sign": "Добро пожаловать в панель управления Smartsoltech",
|
||||||
"site_logo": "static/img/logo.svg",
|
"site_logo": "img/logo.svg",
|
||||||
"search_model": "web.Client",
|
"search_model": "web.Client",
|
||||||
"user_avatar": "web.Client.image",
|
"user_avatar": "web.Client.image",
|
||||||
"topmenu_links": [
|
"topmenu_links": [
|
||||||
|
|||||||
BIN
smartsoltech/static/img/1.png
Normal file
|
After Width: | Height: | Size: 3.4 MiB |
BIN
smartsoltech/static/img/10.png
Normal file
|
After Width: | Height: | Size: 2.6 MiB |
BIN
smartsoltech/static/img/11.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
smartsoltech/static/img/12.png
Normal file
|
After Width: | Height: | Size: 3.2 MiB |
BIN
smartsoltech/static/img/13.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
smartsoltech/static/img/2.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
smartsoltech/static/img/3.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
smartsoltech/static/img/4.png
Normal file
|
After Width: | Height: | Size: 3.3 MiB |
BIN
smartsoltech/static/img/5.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
BIN
smartsoltech/static/img/6.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
smartsoltech/static/img/7.png
Normal file
|
After Width: | Height: | Size: 2.1 MiB |
BIN
smartsoltech/static/img/8.png
Normal file
|
After Width: | Height: | Size: 2.5 MiB |
BIN
smartsoltech/static/img/9.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
1
smartsoltech/static/img/logo.svg
Normal file
|
After Width: | Height: | Size: 25 KiB |
@@ -4,8 +4,8 @@
|
|||||||
<div class="container text-md-left">
|
<div class="container text-md-left">
|
||||||
<div class="row text-md-left">
|
<div class="row text-md-left">
|
||||||
<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
|
<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>
|
<h5 class="text-uppercase text-warning mb-4 font-weight-bold">SmartSolTech</h5>
|
||||||
<p>Here you can use rows and columns to organize your footer content. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
|
<p>Future begins here...</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mt-3">
|
<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>
|
<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>
|
<p><a class="text-light" href="#" style="text-decoration: none;">Product 4</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 col-lg-2 col-xl-2 mx-auto mt-3">
|
<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;">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;">Become an Affiliate</a></p>
|
||||||
<p><a class="text-light" href="#" style="text-decoration: none;">Shipping Rates</a></p>
|
<p><a class="text-light" href="#" style="text-decoration: none;">Shipping Rates</a></p>
|
||||||
@@ -23,16 +23,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3">
|
<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>
|
<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-home mr-3"></i> Gwangju-si Cheollanam-do, Republic of Korea</p>
|
||||||
<p><i class="fas fa-envelope mr-3"></i> info@example.com</p>
|
<p><i class="fas fa-envelope mr-3"></i> a.choi@smartsoltech.kr</p>
|
||||||
<p><i class="fas fa-phone mr-3"></i> + 01 234 567 88</p>
|
<p><i class="fas fa-phone mr-3"></i> + 8 (210) 5693 6103</p>
|
||||||
<p><i class="fas fa-print mr-3"></i> + 01 234 567 89</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr class="mb-4" />
|
<hr class="mb-4" />
|
||||||
<div class="row align-items-center">
|
<div class="row align-items-center">
|
||||||
<div class="col-md-7 col-lg-8">
|
<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>
|
||||||
<div class="col-md-5 col-lg-4">
|
<div class="col-md-5 col-lg-4">
|
||||||
<div class="text-md-right">
|
<div class="text-md-right">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<ul class="navbar-nav ms-auto">
|
<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 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="#">Наши проекты</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ urlpatterns = [
|
|||||||
path('blog/<int:pk>/', views.blog_post_detail, name='blog_post_detail'),
|
path('blog/<int:pk>/', views.blog_post_detail, name='blog_post_detail'),
|
||||||
path('services/', views.services_view, name='services'),
|
path('services/', views.services_view, name='services'),
|
||||||
path('create_order/<int:pk>/', views.create_order, name='create_order'),
|
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:
|
if settings.DEBUG:
|
||||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||