Compare commits

...

11 Commits

Author SHA1 Message Date
Maxi Quoß f5a9a480d4 v2.2.3 2022-08-23 20:42:28 +02:00
Maxi Quoß ddbe52918c add curl to docker image, close #24 2022-08-23 20:41:01 +02:00
Maxi Quoß ba806970a0 exclude db directory 2022-08-04 20:37:21 +02:00
Maxi Quoß 0d9f3ecb04 v2.2.2 2022-07-31 12:20:58 +02:00
Maxi Quoß 7c483d99c8 mount db dir for persistent sqlite #23 2022-07-31 12:19:06 +02:00
Maxi Quoß 6b076b5009 v2.2.1 2022-07-26 14:02:35 +02:00
Maxi Quoß f8e1ede7cb stringify bool correctly 2022-07-26 13:59:39 +02:00
Maxi Quoß 4eecbe3cff fix convert bool for BACKEND_IS_PROXIED
!!'false' converts into true. comparing the string fixes the bool
2022-07-26 13:50:46 +02:00
Maxi Quoß 78dd8e3b23 add popperjs to fix dropdowns 2022-07-26 13:23:31 +02:00
Maxi Quoß 63d8e2c285 update version info 2022-07-23 12:34:10 +02:00
seriousm4x 4571b46353 Delete package-lock.json 2022-07-23 11:57:08 +02:00
8 changed files with 15 additions and 11 deletions
+4
View File
@@ -288,3 +288,7 @@ staticfiles
# JetBrains WebStorm
.idea/
# custom
docker-compose.yml
db/
+1 -1
View File
@@ -24,7 +24,7 @@ WORKDIR /app
ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update &&\
apt-get install -y --no-install-recommends default-mysql-client nodejs npm iputils-ping nmap samba-common-bin openssh-client sshpass &&\
apt-get install -y --no-install-recommends default-mysql-client nodejs npm iputils-ping nmap samba-common-bin openssh-client sshpass curl &&\
apt-get clean &&\
rm -rf /var/lib/{apt,dpkg,cache,log}/
COPY --from=python-build /opt/venv /opt/venv
+2 -2
View File
@@ -116,7 +116,7 @@ elif os.getenv("DB_TYPE") == "sqlite":
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME" : "db.sqlite3",
"NAME": "/app/backend/db/db.sqlite3",
}
}
@@ -174,4 +174,4 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
VERSION = "v2.0.6"
VERSION = "v2.2.3"
+1
View File
@@ -20,6 +20,7 @@
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.0.0",
"@popperjs/core": "^2.11.5",
"@rollup/plugin-replace": "^4.0.0",
"bootstrap": "^5.1.3",
"dotenv": "^16.0.0",
+1
View File
@@ -11,6 +11,7 @@
<link rel='stylesheet' href='build/bundle.css'>
<script defer src='build/bundle.js'></script>
<script defer src='build/popper.min.js'></script>
<script defer src='build/bootstrap.min.js'></script>
</head>
+4 -2
View File
@@ -52,7 +52,7 @@ export default {
}),
replace({
BACKEND_PORT: JSON.stringify(process.env.BACKEND_PORT),
BACKEND_IS_PROXIED: JSON.stringify(!!process.env.BACKEND_IS_PROXIED),
BACKEND_IS_PROXIED: JSON.stringify(process.env.BACKEND_IS_PROXIED.toLowerCase() === 'true'),
preventAssignment: true
}),
// we'll extract any component CSS out into
@@ -64,7 +64,9 @@ export default {
src: [
"node_modules/@fortawesome/fontawesome-free/webfonts",
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js.map"
"node_modules/bootstrap/dist/js/bootstrap.min.js.map",
"node_modules/@popperjs/core/dist/umd/popper.min.js",
"node_modules/@popperjs/core/dist/umd/popper.min.js.map"
],
dest: "public/build/"
}
+2
View File
@@ -19,6 +19,8 @@ services:
#- DJANGO_DEBUG=True # optional (default: False)
#- DJANGO_LANGUAGE_CODE=de # optional (default: en)
#- DJANGO_TIME_ZONE=Europe/Berlin # optional (default: UTC)
volumes:
- ./db/:/app/backend/db/
depends_on:
redis:
condition: service_healthy
-6
View File
@@ -1,6 +0,0 @@
{
"name": "UpSnap",
"lockfileVersion": 2,
"requires": true,
"packages": {}
}