Pre-requisites
- If you are using AWS EC2 Linux, install Webmin (You can use the steps described here to install Webmin https://wilddiary.com/install-webmin-on-aws-ec2-server/)
- Install Docker (You can use the steps described here to install Docker)
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04 - If you are running Docker in EC2, make sure the VM running in EC2 has access to all required ports i.e. EC2 10000(webmin), 56244(NoCodeBDD), 4444(Chrome docker) and 443(HTTPS)
Steps to Run NoCodeBDD in Docker running in EC2
- Create a folder called “NoCodeBDD” in EC2 under /opt
- Copy following files to EC2 under /opt/NoCodeBDD
- NoCodeBDD jar (Only Enterprise version is supported) and call the file as NoCodeBDD.jar
- Copy attached Docker file https://nocodebdd.live/nocodebdd-cicd-V1-3-16-zip-file
- In Webmin, under tools select command shell and run the following commands in that order:
docker build --no-cache -t nocodebdd:latest /opt/NoCodeBDD
docker run --name nocodebdd -m 4096m -v /opt/NoCodeBDD/data:/root/Documents/NoCodeBDD -p 56244:56244 -d nocodebdd
docker run -d -p 4444:4444 --shm-size="2g" -e JAVA_OPTS="-Dwebdriver.chrome.whitelistedIps=Your_EC2_public_IP" selenium/standalone-chrome:4.0.0-20211013
Both Chrome Docker and NoCodeBDD should have started now after running the above 3 commands. You can check this by running the command docker ps -a
4. You should be able to access NoCodeBDD by going to http://Your_EC2_Public_IP:56244/#/ then go to Settings and click on “+ Remote Browser Config” and enter a value under “URL Name” and in url enter the followinghttp://Your-EC2-Public-IP:4444/wd/hub
5. Now NoCodeBDD should be running under http://Your_EC2_Public_IP:56244/#/
Jerome Josephraj is the Founder and CTO of NoCodeBDD. He has more than 20 years of experience in Software Development and have been rolling out Behavior Driven Development for large projects in United Kingdom. He has a strong Java Development Background and have been working as a Technical Consultant. In one of his recent large enterprise projects, he has successfully rolled out Behavior Driven Development consisting of more than 1000 scenarios. He was also the Founder of http://www.campusinteraction.com, a student analytics portal, which was later bought by Preludesys. Based on his previous start-up experience and a strong Behavior Driven Development experience, he founded NoCodeBDD to accelerate BDD automation by 10x.