- Assigment details are written in the
Assignment 2 DNS Server.docx
document - Implement your solution in the
main.py
file (Decomposition into separate files is allowed) - Use
python 3.X
for this assignment - Don't change already existing files except
main.py
,.gitignore
andrequirements.txt
- In case of adding any libraries to the project, also add them to the
requirements.txt
file
- Run command:
./test.sh
- ?
- Install docker
- Build dockerfile:
docker build -t assignment-2-tester .
- 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
- Linux:
- 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 ofmounting
the folder with this command-v "$(pwd)":/sandbox
) - To start tests run:
./test.sh
- To exit run:
exit
- 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)
- Giorgi Kobiashvili g.kobiashvili@freeuni.edu.ge
- Konstantine Dvalishvili k.dvalishvili@freeuni.edu.ge
- Giorgi Basilaia g.basilaia@freeuni.edu.ge