Find a file
dependabot[bot] d4cbf90f23
Bump configparser from 6.0.1 to 7.0.0 (#32)
Bumps [configparser](https://github.com/jaraco/configparser) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/jaraco/configparser/releases)
- [Changelog](https://github.com/jaraco/configparser/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/configparser/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: configparser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 01:59:30 +02:00
.github deamon 2024-03-26 20:56:48 +01:00
static Webdesign 2024-04-14 17:56:03 +02:00
staticfiles [ADD] Rest api (#29) 2024-04-21 02:43:33 +02:00
tldtest [ADD] Rest api (#29) 2024-04-21 02:43:33 +02:00
tldtester removing useless migrations 2024-04-21 03:01:54 +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 CSRF 2024-03-26 22:30:07 +01:00
docker-compose.yml Merge pull request #24 from tldtest/docker-compose 2024-04-10 04:32:24 +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 configparser from 6.0.1 to 7.0.0 (#32) 2024-05-02 01:59:30 +02:00
requirements.txt Bump configparser from 6.0.1 to 7.0.0 (#32) 2024-05-02 01:59:30 +02: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