32 lines
642 B
Markdown
32 lines
642 B
Markdown
# 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
|
|
```
|
|
|
|
# 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
|
|
```
|