- 1.Install docker-compose (you need docker-compose v1.6 or greater, be sure to have already installed docker before on your machine)
Windows via Docker Toolbox
1. Install Docker Toolbox and follow instruction.
2. Create a new folder on your machine and clone this repo with git:
git clone https://github.com/GruppoPBDMNG-8/Shortify
3. Navigate into the "Shortify" folder:
cd Shortify
4. Build and run the containers with:
docker-compose up
...It may take a while, so go on and grab a coffee.
5. Once ready, open your browser and go to
http://localhost:8085
1. Run containers in detached mode:
docker-compose up -d
NOTE: If containers are already running stop them with CTRL+C
2. Run this script with docker:
docker exec -it shortify_server_1 bash test.sh
3. Results of the tests will be shown in the terminal.
IMPORTANT: Be sure to install docker-compose and git by ticking the checkboxes during the installation.
2. Open the Docker Quickstart Terminal, it should be on your desktop.
3. Once ready, take note of your virtual machine ip address (shown here).
4. Create a new folder and clone this repo with git:
git clone https://github.com/GruppoPBDMNG-8/Shortify
5. Navigate into the "Shortify" folder:
cd Shortify
6. Build and run the containers with:
docker-compose up
...It may take a while, so go on and grab a coffee.
7. Once ready, open your browser and go to
http://(your VM ip):8085 (example: http://192.168.99.100:8085)
1. Run containers in detached mode:
docker-compose up -d
NOTE: If containers are already running stop them with CTRL+C
2. Convert test.sh with dos2unix:
docker exec -it shortify_server_1 dos2unix test.sh
3. Run this script with docker:
docker exec -it shortify_server_1 bash test.sh
4. Results of the tests will be shown in the terminal.