Closed cweickhmann closed 6 years ago
I build the pypi files according to the OpenSlides 3.0 details, but it should work with prior versions as well.
I ran the build with the above mentioned commits and it resulted in a working pypi file.
docker run --env NEWUID=$(id -u) \
--env REPOSITORY_URL=https://github.com/OpenSlides/OpenSlides.git \
--env BRANCH=master \
--env COMMIT_HASH=d2c4aff7a4e3d27e2ac8f2ce55c446cabe032f33 \
-v $(pwd)/build:/app/build \
-it os-buildpypi
The command ran after the build successfully an pypi *.tar.gz in the build folder which can be used down the road. Can you post a paste of your complete console with all the commands you used?
Hi, I had problems with gulp on weaker machines before. I can't really remember, but if you watch gulp with a process monitor, it might allocate too much memory. I think, that I crashed a resource limited Zen-instance with this command. Sorry that I do not remeber it cleary, it was a while ago.
Can you give some specs about your machine?
Thank you for your feedback. I had the revelation this morning: Gulp just needs lots of RAM which the VM I ran it on did not have: 1 GB is not enough, 4 GB does the job.
I would suggest a warning in the docs, though.
There is an issue I am experiencing at least with the OpenSlides/OpenSlides commit hashes OpenSlides/OpenSlides@123b7c7 and OpenSlides/OpenSlides@d2c4aff.
This happens with openslides-docker commits 4d15c56 and 81d300e.
The installation (following the instructions in
buildpypi/README.md
) gets stuck at the end of the installation log below, after building (?) "templates":Any idea what might be wrong?