Skip to content

d-chechelashvili/DNS-Server

Repository files navigation

DNS Server

Instructions:

  1. Assigment details are written in the Assignment 2 DNS Server.docx document
  2. Implement your solution in the main.py file (Decomposition into separate files is allowed)
  3. Use python 3.X for this assignment
  4. Don't change already existing files except main.py, .gitignore and requirements.txt
  5. In case of adding any libraries to the project, also add them to the requirements.txt file

Ho to run tests on linux/ubuntu:

  1. Run command: ./test.sh

Ho to run tests on Windows:

  1. ?

Ho to run tests in docker:

  1. Install docker
  2. Build dockerfile: docker build -t assignment-2-tester .
  3. Go to assignment project directory and run:
    • Linux:docker run -it -v "$(pwd)":/sandbox assignment-2-tester
    • Windows PowerShell: docker run -it -v $(PWD):/sandbox assignment-2-tester
    • Windows CMD: docker run -it -v %cd%:/sandbox assignment-2-tester
  4. At this point you can assume that you'r running Ubuntu 20.04 with all the necessary dependencies installed, to run tests multiple times during development it's not necessary to restart the docker, it is able to see all the changes you make in the folder (because of mounting the folder with this command -v "$(pwd)":/sandbox)
  5. To start tests run: ./test.sh
  6. To exit run: exit
  7. You can skip build step and instead you can run docker this way: docker run -it -v "$(pwd)":/sandbox kokadva/assignment-2-tester (This will be available in the distant future)

Assignment Authors:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published