Find a file
dependabot[bot] dea0a70ccf
Bump asgiref from 3.7.2 to 3.8.1
Bumps [asgiref](https://github.com/django/asgiref) from 3.7.2 to 3.8.1.
- [Changelog](https://github.com/django/asgiref/blob/main/CHANGELOG.txt)
- [Commits](https://github.com/django/asgiref/compare/3.7.2...3.8.1)

---
updated-dependencies:
- dependency-name: asgiref
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-01 11:07:18 +00:00
.github deamon 2024-03-26 20:56:48 +01:00
static Webdseign 2024-03-01 03:12:49 +01:00
staticfiles staticfiles. Trying for the pages 2024-03-26 07:40:35 +01:00
tldtest fixing the most obvious broken stuff 2024-03-27 01:22:09 +01:00
tldtester field length broken in postgres 2024-03-26 17:16:44 +01: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 CSRF 2024-03-26 22:30:07 +01:00
docker-compose.yml trying to bind to local container only 2024-04-01 03:40:33 +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 statics 2024-03-26 07:39:17 +01: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 asgiref from 3.7.2 to 3.8.1 2024-04-01 11:07:18 +00:00
requirements.txt Bump asgiref from 3.7.2 to 3.8.1 2024-04-01 11:07:18 +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