traceroute_map/README.md
2024-06-05 22:59:20 +03:00

933 B

Traceroute Internet Mapper - TIM

Development

Backend

Pre-requisites: pipenv, or whichever venv manager you prefer

# Install all dependencies. `pipenv` was used previously:
pipenv --python 3.11
pipenv install

# Start dev server
pipenv shell
fastapi dev app/main.py

# Start posting data to the tracing endpoint:
traceroute git.rauhala.info -q1 | http POST localhost:8000/trace/MYHOSTNAME

Frontend

Pre-requisites: nvm, tsc / typescript

# Install latest npm version with node version manager:
nvm install 22

# Install project packages:
npm install

# Regular usage, activate project node version & start TS compiler in watch mode:
nvm use
tsc -w

URLs of interest