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

Centralize Paths (Possibly fixes #43) #44

Closed
wants to merge 1 commit into from
Closed

Conversation

zyradyl
Copy link

@zyradyl zyradyl commented Nov 5, 2023

Hello!

I didn't want to just complain so I went through and made some quick changes to the paths. I don't have a dockerhub account and I'm not really sure how to build docker images in the first place so I can't test it, but they're relatively simple changes.

Hope this helps! Thanks for the awesome software!

@@ -16,7 +16,7 @@ def __init__(self):
if is_compiled():
self.cache_folder_path = "../../storage/cache/message-ids"
else:
self.cache_folder_path = "../../release/dcef/storage/cache/message-ids"
self.cache_folder_path = "../../cache/message-ids"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will break development environment. I will restructure the project folder structure to fix paths later

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything I can do to resolve this to make it easier on you? I am on my way to bed now as its 11PM here, but after I get back from school tomorrow I can make the changes. Where would I look to find the breakage?

@slatinsky
Copy link
Owner

Hello,

you don't need dockerhub to build the docker image. Just follow instructions in README.md#other-ways-to-run-dcef and build docker image from source. - TL;DR docker rm dcef -f && docker build -t dcef . && docker run --restart=always --name dcef -p 21011:21011 -it dcef

Also it is expected that you would add your own reverse proxy (for example nginx) to handle logging, SSL certificates, rate limiting,... . That's why nginx logs were not made to be persistent in /dcef/cache

Sorry, I won't merge this pull request as is, project needs bigger folder restructure to fix this issue (moving backend and frontend folders to src folder). But thanks for your contribution <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants