development branch created to preserve working deploy project
parent
5e65ea0f7c
commit
e824e87953
@ -0,0 +1,31 @@
|
|||||||
|
# Git
|
||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
.dockerignore
|
||||||
|
docker-compose.yml
|
||||||
|
docker-compose.dev.yml
|
||||||
|
docker-compose-deploy.yml
|
||||||
|
docker-compose with volume.yml
|
||||||
|
dockerfile
|
||||||
|
*.tar
|
||||||
|
|
||||||
|
# Python
|
||||||
|
.venv
|
||||||
|
__pycache__
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
# Database
|
||||||
|
db.sqlite3
|
||||||
|
*.bak
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.idea
|
||||||
|
|
||||||
|
# Environment files
|
||||||
|
.env
|
||||||
|
production.env
|
||||||
|
|
||||||
|
# Other
|
||||||
|
gemini.cmd - Shortcut.lnk
|
||||||
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="dataSourceStorageLocal" created-in="PY-251.26927.74">
|
||||||
|
<data-source name="depot@localhost" uuid="2186be09-0cb1-4210-bad0-d279af5e6702">
|
||||||
|
<database-info product="PostgreSQL" version="17.4" jdbc-version="4.2" driver-name="PostgreSQL JDBC Driver" driver-version="42.7.3" dbms="POSTGRES" exact-version="17.4" exact-driver-version="42.7">
|
||||||
|
<identifier-quote-string>"</identifier-quote-string>
|
||||||
|
</database-info>
|
||||||
|
<case-sensitivity plain-identifiers="lower" quoted-identifiers="exact" />
|
||||||
|
<secret-storage>master_key</secret-storage>
|
||||||
|
<user-name>postgres</user-name>
|
||||||
|
<schema-mapping>
|
||||||
|
<introspection-scope>
|
||||||
|
<node kind="database" qname="@">
|
||||||
|
<node kind="schema" qname="@" />
|
||||||
|
</node>
|
||||||
|
</introspection-scope>
|
||||||
|
</schema-mapping>
|
||||||
|
</data-source>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||||
|
<data-source source="LOCAL" name="depot@localhost" uuid="2186be09-0cb1-4210-bad0-d279af5e6702">
|
||||||
|
<driver-ref>postgresql</driver-ref>
|
||||||
|
<synchronize>true</synchronize>
|
||||||
|
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||||
|
<jdbc-url>jdbc:postgresql://localhost:5432/depot</jdbc-url>
|
||||||
|
<working-dir>$ProjectFileDir$</working-dir>
|
||||||
|
</data-source>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1 @@
|
|||||||
|
#n:depot
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
#n:information_schema
|
||||||
|
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
#n:pg_catalog
|
||||||
|
!<md> [null, 0, null, null, -2147483648, -2147483648]
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
#n:public
|
||||||
|
!<md> [1114, 0, null, null, -2147483648, -2147483648]
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,5 @@
|
|||||||
|
FROM minio/mc:latest
|
||||||
|
RUN test -f init_minio_buckets.sh && echo "init_minio_buckets.sh found in build context!" || (echo "init_minio_buckets.sh NOT found in build context!" && exit 1)
|
||||||
|
COPY init_minio_buckets.sh /usr/local/bin/init_minio_buckets.sh
|
||||||
|
RUN chmod +x /usr/local/bin/init_minio_buckets.sh
|
||||||
|
ENTRYPOINT ["/usr/local/bin/init_minio_buckets.sh"]
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
FROM alpine/git
|
||||||
|
WORKDIR /build_context
|
||||||
|
COPY . .
|
||||||
|
RUN ls -la
|
||||||
|
CMD ["echo", "Build context listed."]
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,14 +1,18 @@
|
|||||||
|
from django.contrib.auth.views import LogoutView
|
||||||
from django.urls import path, include
|
from django.urls import path, include
|
||||||
from django.contrib.auth import views as auth_views
|
from django.contrib.auth import views as auth_views
|
||||||
from accounts import views
|
from accounts import views
|
||||||
|
from accounts.views import CustomPasswordChangeView
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', include([
|
path('', include([
|
||||||
path('', views.UserListView.as_view(), name='user_list'),
|
path('', views.UserListView.as_view(), name='user_list'),
|
||||||
path('register/', views.RegisterView.as_view(), name='user_register'),
|
path('register/', views.RegisterView.as_view(), name='user_register'),
|
||||||
path('login/', views.DepotLoginView.as_view(), name='login'),
|
path('login/', views.DepotLoginView.as_view(), name='login'),
|
||||||
path('relogin/', auth_views.logout_then_login, name='relogin'),
|
# path('relogin/', auth_views.logout_then_login, name='relogin'),
|
||||||
path('change-password/', views.UserChangePasswordView.as_view(), name='change_password'),
|
path('relogin/', LogoutView.as_view(next_page='login'), name='relogin'),
|
||||||
|
path('change-password/', CustomPasswordChangeView.as_view(), name='change_password'),
|
||||||
|
|
||||||
path('<int:pk>/update/', views.UserUpdateView.as_view(), name='user_update'),
|
path('<int:pk>/update/', views.UserUpdateView.as_view(), name='user_update'),
|
||||||
path('<int:pk>/active/', views.UserActiveView.as_view(), name='user_active'),
|
path('<int:pk>/active/', views.UserActiveView.as_view(), name='user_active'),
|
||||||
])),
|
])),
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue