You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
There are two ways to bring up GLAMkit development environments: use Docker via docker-compose etc, or simulate a Docker-like environment with less overhead using the ./go.sh script.
Currently these two approaches conflict if you mix them in the same project. For example, testing real Docker builds after development in the ./go.sh Docker-like environment can lead to strange behaviour and conflicts.
I believe this is because docker-compose and ./go.sh use the same {PROJECT_ROOT}/var directory to store things like hash comparison files, which means the state of things like DB migrations and NPM/Bower installs can get out of whack.
The current workaround for conflicts is to either try and clean out the var/ directory by removing any .md5 and similar files, or just to rename var/ to something else to move it out of the way when switching between Docker and ./go.sh environments.
The text was updated successfully, but these errors were encountered:
@jmurty I think the main conflict is node_modules gets installed into the same location, and within Docker it will include some Linux binaries which obviously don't work on macOS. bower_components should be file to share, as they are just static CSS and JS files. The Python environment should also be separate.
There are two ways to bring up GLAMkit development environments: use Docker via docker-compose etc, or simulate a Docker-like environment with less overhead using the
./go.sh
script.Currently these two approaches conflict if you mix them in the same project. For example, testing real Docker builds after development in the
./go.sh
Docker-like environment can lead to strange behaviour and conflicts.I believe this is because docker-compose and
./go.sh
use the same{PROJECT_ROOT}/var
directory to store things like hash comparison files, which means the state of things like DB migrations and NPM/Bower installs can get out of whack.The current workaround for conflicts is to either try and clean out the
var/
directory by removing any.md5
and similar files, or just to renamevar/
to something else to move it out of the way when switching between Docker and./go.sh
environments.The text was updated successfully, but these errors were encountered: