Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make storage path configurable via environment variable #1476

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

falkoschindler
Copy link
Contributor

@falkoschindler falkoschindler commented Aug 23, 2023

This PR is a follow-up to #1418 and #1426. In contrast to setting the storage path via ui.run (which is too late), it introduces a new environment variable "NICEGUI_STORAGE_PATH".

The following call will create a new storage directory in /tmp/nicegui:

NICEGUI_STORAGE_PATH=/tmp/nicegui ./test.py

@falkoschindler falkoschindler added this to the 1.3.12 milestone Aug 23, 2023
@falkoschindler falkoschindler added the enhancement New feature or request label Aug 23, 2023
@falkoschindler falkoschindler merged commit 9f39f1d into main Aug 23, 2023
5 checks passed
@falkoschindler falkoschindler deleted the storage-path branch August 23, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants