- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 71
Closed
Labels
area: deploymentChanges to setting up QPixel, Docker, etc.Changes to setting up QPixel, Docker, etc.complexity: averageNot particularly hard, not particularly trivial.Not particularly hard, not particularly trivial.priority: medium
Description
I tried to set up QPixel with Docker on a Mac M1 with MacOS 14.2.1 (Sonoma) and ran into many issues. With help we got it working; this issue is to track changes for both the Docker setup and our installation doc to make it easier for the next person. I was working with (and leaning heavily on) @Oaphi , who will probably have more to add to this list.
- We had to edit Dockerfileto be more explicit about architecture, replacing# FROM ruby:3.0.0withFROM --platform=linux/arm64 ruby:3.0.0.Dockerfilehas to work for everyone so we can't edit it in the repo, but we should document this requirement in the readme file.
- Similarly, in docker-compose.yml, in theuwsgiblock, we had to addplatform: linux/amd64. Again, we should document this.
- We had to edit manifest.jsto add://= link application.css. I don't understand the failure that led to this so I don't know if this is specific to this platform, a more general problem, or a gremlin. Needs more review.
- We had issues with mysql setup, but I don't know if they were general bugs or problems with interference from the host system.  We had to drop and recreate the root@%andqpixel@%users, giverootthe ability to do grants, and then do the qpixel grants manually. Needs more review (or testing, if we can get a clean Mac environment to test on).
- In the uwsgicontainer, we had to dodpkg --add-architecture amd64and then manually installlibc6:amd64andg++-multilib. I think the configuration should be able to do that for us, but if not and we need to document this, the cycle is:apt install...,rake tmp:clear,rm -rf ./public/assets,rm -rf ./tmp/cache/assets,rails assets:precompile,rails restart.
Oaphi
Metadata
Metadata
Assignees
Labels
area: deploymentChanges to setting up QPixel, Docker, etc.Changes to setting up QPixel, Docker, etc.complexity: averageNot particularly hard, not particularly trivial.Not particularly hard, not particularly trivial.priority: medium