Skip to content
Snippets Groups Projects
Verified Commit b1c6a73a authored by Martin Weise's avatar Martin Weise
Browse files

Using Pipenv for deps

parent 9445d953
No related branches found
No related tags found
4 merge requests!345Updated docs and endpoints:,!341Fixed mapping problem where UK and FK share columns they are inserted,!339Fixed mapping problem where UK and FK share columns they are inserted,!338Fixed mapping problem where UK and FK share columns they are inserted
...@@ -27,26 +27,15 @@ image as well, in this example we want to mount a custom logo `my_logo.png` into ...@@ -27,26 +27,15 @@ image as well, in this example we want to mount a custom logo `my_logo.png` into
```yaml title=".env" ```yaml title=".env"
NUXT_PUBLIC_TITLE="My overriden title" NUXT_PUBLIC_TITLE="My overriden title"
NUXT_PUBLIC_LOGO="/my_logo.png" NUXT_PUBLIC_LOGO="https://mydomain/my_logo.png"
NUXT_PUBLIC_ICON="/favicon.ico" NUXT_PUBLIC_ICON="https://mydomain/my_favicon.ico"
... ...
``` ```
To work, you need to mount the `my_logo.png` file into the `dbrepo-ui` container via the `docker-compose.yml` file. To work, you need to serve the `my_logo.png` and `my_favicon.ico` from a separate webserver. Note that simply
copying the files into the Nuxt [`public/`](https://nuxt.com/docs/guide/directory-structure/public) directory will
```yaml title="docker-compose.yml" not work as the content length is calculated only during build time. The development
services: team [#19263](https://github.com/nuxt/nuxt/issues/19263) does not plan to fix this.
dbrepo-ui:
image: registry.datalab.tuwien.ac.at/dbrepo/ui:1.4.7
volumes:
- ./my_logo.png:/app/.output/public/my_logo.png
- ./favicon.ico:/app/.output/public/favicon.ico
environment:
...
...
```
If you want to override more environment variables, extend the dictionary in `environment:`
=== "Kubernetes" === "Kubernetes"
......
Pipfile 0 → 100644
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
mkdocs = "==1.5.3"
mkdocs-material = "==9.5.17"
mkdocs-with-pdf = "==0.9.3"
mkdocs-material-extensions = ">=1.0.3"
py-dotenv = ">=0.1"
python-dotenv = "==1.0.0"
build = "==1.1.1"
twine = "==5.0.0"
furo = "==2024.1.29"
requests = "==2.31.0"
pika = "==1.3.2"
pydantic = "==2.6.4"
tuspy = "==1.0.3"
mike = "==2.0.0"
anybadge = "==1.14.0"
[dev-packages]
[requires]
python_version = "3.11"
This diff is collapsed.
No preview for this file type
{ {
"navigation": { "navigation": {
"logo": "Logo",
"information": "Information", "information": "Information",
"search": "Search", "search": "Search",
"container": "Engines", "container": "Engines",
......
...@@ -27,6 +27,7 @@ export default defineNuxtConfig({ ...@@ -27,6 +27,7 @@ export default defineNuxtConfig({
charset: 'utf-8', charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1', viewport: 'width=device-width, initial-scale=1',
meta: [ meta: [
{'ref': 'icon', type: 'image/x-icon', href: '/favicon.ico'},
{'http-equiv': 'Content-Security-Policy', content: 'upgrade-insecure-requests'} {'http-equiv': 'Content-Security-Policy', content: 'upgrade-insecure-requests'}
], ],
htmlAttrs: { htmlAttrs: {
......
...@@ -328,6 +328,9 @@ services: ...@@ -328,6 +328,9 @@ services:
COMMIT: ${CI_COMMIT_SHA:-} COMMIT: ${CI_COMMIT_SHA:-}
network: host network: host
environment: environment:
# NUXT_APP_BASE_URL: "/dbrepo/"
NUXT_PUBLIC_LOGO: "https://upload.wikimedia.org/wikipedia/de/7/72/IFS_Logo_2013_RGB.jpg"
# NUXT_PUBLIC_ICON: "/dbrepo/favicon.ico"
NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}" NUXT_PUBLIC_API_CLIENT: "${BASE_URL:-http://localhost}"
NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}" NUXT_PUBLIC_API_SERVER: "${BASE_URL:-http://localhost}"
NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files" NUXT_PUBLIC_UPLOAD_CLIENT: "${BASE_URL:-http://localhost}/api/upload/files"
......
mkdocs==1.5.3
mkdocs-material==9.5.17
mkdocs-with-pdf==0.9.3
mkdocs-material-extensions>=1.0.3
requests>=2.27.0
py-dotenv>=0.1
python-dotenv==1.0.0
requests==2.31.0
build==1.1.1
setuptools==69.2.0
twine==5.0.0
furo==2024.1.29
requests==2.31.0
pika==1.3.2
pydantic==2.6.4
tuspy==1.0.3
mike==2.0.0
anybadge==1.14.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment