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

made m1 mac compatible #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

made m1 mac compatible #30

wants to merge 1 commit into from

Conversation

ttuleyb
Copy link

@ttuleyb ttuleyb commented Jun 29, 2023

By changing the mongo version to an arm version this works on my M1 mac. However while server icons do work, I can't get images and media to work which could be due to me making a bad backup or I could have broken something.

I think being able to see messages without attachments is better than not being able to run the project at all.

@slatinsky
Copy link
Owner

This change will break builds on x86_64. We should create new Dockerfile for mac and keep this one unchanged for linux.
Then to build Dockerfile with custom name, you can use docker build -f [my-custom-dockerfile-name] [path] .


The project contains example exports. Navigate to release/exports and run docker container

cd release/exports
docker run --volume "$(pwd):/dcef/exports" --volume dcef_cache:/dcef/cache --rm --name dcef -p 21011:21011 -it slada/dcef:main

After that, do assets load only with example exports?


Did you export with --media --reuse-media (or Download Assets in GUI)? If the answer is no, you need to disable offline mode - go to settings (example) and select Fetch assets from remote servers->If local assets don't exist)

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