Django RESTful API for a multi-user and multi-domain manager for PowerDNS. Javascript front-end built with ExtJS framework
Docker
Docker-Compose
Go to the root directory and type
docker-compose up
To get the IP of the web container type
docker inspect --format '{{ .NetworkSettings.IPAddress }}' web
To get the IP of the PowerDNS container type
docker inspect --format '{{ .NetworkSettings.IPAddress }}' pdns
Open your browser and type the web container ip followed by the port 8000
http://web_container_ip:8000
Enter the testing credentials: user: test
user: test
password: test_pass
Open a console and fill the following command, changing the container IP and entering the domain name you want to test
dig @powerdns_container_ip and name_to_test
Access the container:
docker exec -i -t web /bin/bash
Inside the /code directory, just type:
./manage.py test --keepdb --failfast
If you want to maintain the testing database:
./manage.py test --keepdb
If you want it to stop after a failed test:
./manage.py test --failfast
- Django
- Django Rest Framework
- Sencha ExtJS 5.1.1
- PowerDNS
- MySQL
- Docker
- Pablo Torres
This project is licensed under the MIT License