This site has the purpose of testing the response time of TLD nameservers everywhere in the world.
virtualenv -p python3.11 venv
source venv/bin/activate
pip install -r requirements.txt
./manage.py migrate
./manage.py runserver
./manage.py collectstatic
./manage.py runserver --insecure
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/.
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