Find a file
2024-07-08 00:10:30 +02:00
.github [ADD] Adding IPv6 connectivity from withing the container (wasn't aware it wasn't done by default) 2024-05-22 03:00:31 +02:00
atlas [FIX] Adding database line 2024-07-07 18:14:25 +02:00
static [ADD] Adding the latency map 2024-06-02 01:18:46 +02:00
staticfiles [ADD] Adding the latency map 2024-06-02 01:18:46 +02:00
tldtest [ADD] ICANN Wiki Link 2024-07-08 00:07:02 +02:00
tldtester [FIX] attempted fix 2024-06-02 01:47:10 +02:00
.gitignore Docker Ok. Testing CI/CD should work 2024-03-26 17:16:10 +01:00
CNAME Create CNAME 2024-03-26 07:37:04 +01:00
config.example.py [ADD] Adding the API link, database structure and admin panel to trigger measurement creation 2024-06-01 23:47:54 +02:00
docker-compose.yml [ADD] Adding IPv6 connectivity from withing the container (wasn't aware it wasn't done by default) 2024-05-22 03:00:31 +02:00
Dockerfile changing stuff 2024-03-26 09:38:14 +01:00
entrypoint.sh Postgres-docker 2024-03-26 16:11:08 +01:00
env.prod.db.example Docker Ok. Testing CI/CD should work 2024-03-26 17:16:10 +01:00
LICENSE initial stuff for start 2024-02-11 19:21:12 +01:00
manage.py basic django stuff 2024-02-11 19:27:45 +01:00
package-lock.json Bump braces from 3.0.2 to 3.0.3 2024-06-18 10:26:18 +00:00
package.json statics 2024-03-26 07:39:17 +01:00
README.md documenting static files 2024-03-29 23:40:20 +01:00
requirements.in Bump certifi from 2024.6.2 to 2024.7.4 2024-07-06 02:31:20 +00:00
requirements.txt Bump certifi from 2024.6.2 to 2024.7.4 2024-07-06 02:31:20 +00:00
tailwind.config.js Tailwindcss 2024-02-26 09:55:19 +01:00

This is the main website for tldtest.net

This site has the purpose of testing the response time of TLD nameservers everywhere in the world.

To run in test environment :

virtualenv -p python3.11 venv
source venv/bin/activate
pip install -r requirements.txt
./manage.py migrate
./manage.py runserver

When running in debug False :

./manage.py collectstatic
./manage.py runserver --insecure

Static files :

The static files need to be hosted outside the gunicorn. So I choose to store them on github pages (for now). Which means that every time the statics get changed, one need to run :

./manage.py collectstatic
git add staticfiles/.

CSS :

To install the CSS bundler :

npm install -D tailwindcss
npx tailwindcss init

To update CSS files (they use the tailwinds framework)

npx tailwindcss -i ./static/src/input.css -o ./static/src/output.css