go-p2p - is a peer-to-peer network targeting on the local network in order to have a distributed file system inside the companies.
The app is dockerized so it can be started using Docker and Docker Compose.
If you have the tools installed on your machine, create .env
file by example file .env.example
and type:
docker-compose -f docker-compose.dev.yml up -d
docker-compose -f docker-compose.prod.yml up -d
If you need to run the app without docker, you will need Go, Dep and Node.
After the tools installation:
dep ensure
to install all Go dependencies.
Create .env
file like in Docker section and run it:
go run main.go
- Using netcat:
./broadcast_udp.netcat.sh -m "{\"ID\":1}" -p 3333
- Using socat:
./broadcast_udp.socat.sh -m "{\"ID\":1}" -p 3333
cd gui
npm i
npm run start