dpcreator
dpcreator copied to clipboard
877 fix local build: npm certificate, docker-compose platform
I made some changes to fix the local build.
For the the npm install errors, I rebuilt package-lock.json to use the npmjs registry (https://registry.npmjs.org/).
I removed the '^' from package.json, so it will use exact versions rather than getting newer versions. It's still hard to exactly reproduce the old package-lock.json, so I think there will be some bugs due to different versions that have to be worked out. For example there is a validation error that happens when building the client. But it still starts up, and the basic workflow works.
The problems we were seeing in Celery and the Django Server were due to a missing platform specification in docker-compose.yml. The OpenDP library needs to run on linux/amd64 platform.