From the course: DevOps Foundations: Your First Project

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Running the test

Running the test

From the course: DevOps Foundations: Your First Project

Start my 1-month free trial

Running the test

- [Instructor] So now that we have our Docker composed, let's go ahead and run it. First of all I'm going to start the website with Docker Compose up, but I'm going to use a dash D option to hide the output from the website. So docker-compose up website. And then I'm going to run my unit tests against the website. So I'm going to do docker-compose run. And then I'm going to put this RM option so that Docker Compose doesn't save the container when it's done doing what it needs to do. That way I can save some space. So unit tests... And so now it's going to build our unit tests. This can take a while. Ah, I spelled something wrong. Let me go ahead and fix that. Mantainer, no, let's try maintainer. This can take a while, depending on your system and your network connection because this is quite, this is quite big. And in addition to that it does some code compilation, so that can take a while depending on how fast…

Contents