Short guide on how to run tukko on your own virtual machine.
Please note that this guide may not be complete. Some details might have been overlooked as I no longer remember every step. However, it should serve as a solid foundation for getting started.
-
Start by cloning the necessary repositories. In this case you must clone traffic-visualizer and traffic-visualizer-backend to your virtual machine.
-
Update package lists with sudo apt-get update
-
Install ca-certificates and curl with sudo apt-get install ca-certificates curl
-
Now you can install Docker. You can look up installation instructions from Dockers official documentation.
-
Install Node.js (and npm). You can use these: curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash – sudo apt-get install -y nodejs
-
Verify Node.js and npm installation. node -v npm -v
-
After you have done these go in traffic-visualizer and traffic-visualizer-backend directories and install npm packages with npm install
-
Start backend with Docker Compose docker compose up -d
-
Run the frontend with npm run prod
Remember to change the IP address in .env and .env.example!