Code of https://tldtest.net
Bumps [bcrypt](https://github.com/pyca/bcrypt) from 4.1.2 to 4.1.3. - [Changelog](https://github.com/pyca/bcrypt/blob/main/release.py) - [Commits](https://github.com/pyca/bcrypt/compare/4.1.2...4.1.3) --- updated-dependencies: - dependency-name: bcrypt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
static | ||
staticfiles | ||
tldtest | ||
tldtester | ||
.gitignore | ||
CNAME | ||
config.example.py | ||
docker-compose.yml | ||
Dockerfile | ||
entrypoint.sh | ||
env.prod.db.example | ||
LICENSE | ||
manage.py | ||
package-lock.json | ||
package.json | ||
README.md | ||
requirements.in | ||
requirements.txt | ||
tailwind.config.js |
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