mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 12:45:48 +03:00
[GH-ISSUE #1042] how to enable WHOOGLE_DOTENV=1 #640
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#640
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Wdvh on GitHub (Jul 31, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1042
I searched the issues and google for hours there is no answer as to where and how to put WHOOGLE_DOTENV=1 for a local manual install on macOS Catalina without systemd. I tried different things with the line from the template none load the variables in the whoogle.env. to reliable run it in standard config I needed to do "flask run --host=0.0.0.0" instead of ./run that always resulted in errors.
@benbusby commented on GitHub (Aug 2, 2023):
What are the errors you're getting from using
./run? And what are the values inwhoogle.env? If it's mostly configuration fields that you're trying to set with environment variables, keep in mind that these only modify the "default" session. If you launch the app at any point before modifying the dotenv file, then your browser will create its own session, so modifying these values won't visibly change anything until you clear your cookies. Non-configuration values (like proxies, authentication, etc) are not tied to sessions though.From a quick test everything is working for me, so I'm going to convert this to a discussion.