Using docker to test

Docker Desktop is a one-click-install application for your Mac, Linux, or Windows environment that lets you to build, share, and run containerized applications and microservices.

Installing this will allow you to test and run our demo SaaS app locally vs. setting up hosting, etc.

Please remember to copy your configuration details to docker-compose.yml file first! Also, its very important that docker has access permissions to any folder you use with it, or our file will not work. Docker must be running for the example to work as well.

Download and unzip the files from GitHub into a folder with permissions for your OS and Docker desktop.

Open Terminal or a Command line app and navigate to the downloaded/unzipped folder.

docker-compose -f ./docker-compose.yml build
docker-compose -f ./docker-compose.yml up

Run two commands, one after the other has finished, to create and start the docker example as a build in Docker desktop.

Now, your project should be built and ready to run. You can see this in the Docker desktop app.

Next, run our example and start testing by going to the localhost address in your browser:

This should launch the example, and you can start testing - see the previous article on testing for details on the login credentials to use etc.

Last updated

Was this helpful?