Skip to content

mckadesorensen/cs372_battle_ship

Repository files navigation

cs372_battle_ship Build Status

Table of Content

Docker

This project uses Docker. To install Docker visit this link and follow your systems instructions

Building Docker

Run the following command within the project directory:

docker build -f battleship.Dockerfile .

Running Docker

After building Docker run the following command:

docker image ls

There should be a list of Docker images like below:

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
<none>              <none>              3bc811affb74        1 minute ago       103MB
ubuntu              latest              ccc6e87d482b        3 weeks ago         64.2MB

Copy the most recent IMAGE ID and run the following command:

docker run -it 3bc811affb74

Unit Tests

This project uses pytest.

Running Unit Tests

After running the Docker run command, run this command in the Docker container:

pipenv run tests

This command is created in the [scripts] section in Pipfile.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published