This is a local virtual environment that contains the following:
- Jenkins running on port 8081
- PostgreSQL running on port 5432
- A Test app running on port 4567
- A Json Get Register app running on port 5000
- Vagrant (https://www.vagrantup.com)
- Virtual Box (https://www.virtualbox.org)
- Git (http://git-scm.com)
From the command line, Clone the repo:
git clone https://github.com/LR-Training/training-environment.git
From the command line, type:
cd training-environment
vagrant up
From the command line, type:
cd training-environment
vagrant destroy
git pull
vagrant up
The following services are now available:
- Jenkins (http://localhost:8081) (jenkins removed from provision temporarily as there is a version issue)
- Test App (http://localhost:4567)
- Get Register App (http://localhost:5000)
The following tests can be found in the tests folder:
- Example 1 - Create a user on the Test App
- Example 2 - Create a user and then use it to login to the Test App