This can be used for e2e testing and also generalized testing of the full politeiagui -> politeiawww -> politeiad stack.
Build the docker image using the commands chmod +x build.sh
and ./build.sh
.
build.sh
has a certificate creation command that can be edited if needed.
It creates a file dockerfiles/nginx.cert
that can be imported to your browser or testing program as a trusted cert.
docker run -d --rm -p 8443:443 politeiae2e
docker run -it --rm -p 8443:443 politeiae2e
docker run --rm -it --entrypoint /bin/sh politeiae2e
Build the docker image using the commands chmod +x cmsbuild.sh
and ./cmsbuild.sh
. \
Can use the same commands as above. Note that politeiae2ecms
will be the name of the docker image.
password
password
password
password
more can be added by editing dockerfile/setup.sh