Skip to content

Latest commit

 

History

History

politeiae2e

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

politeiae2e

This can be used for e2e testing and also generalized testing of the full politeiagui -> politeiawww -> politeiad stack.

How to setup politeiae2e (piwww)

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.

detach start:

docker run -d --rm -p 8443:443 politeiae2e

attached start:

docker run -it --rm -p 8443:443 politeiae2e

drop a shell (for debugging):

docker run --rm -it --entrypoint /bin/sh politeiae2e

How to setup politeiae2ecms (cmswww)

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.

Default Useraccounts:

adminuser:

[email protected]

password

user1:

[email protected]

password

user2:

[email protected]

password

user3:

[email protected]

password

more can be added by editing dockerfile/setup.sh