This is the repository for the code that runs on the api endpoint at https://api1.cloud.fx.land and serves the pinning service. The requests are distributed to this server through https://api.cloud.fx.land which runs the code inside pool-server
- Build:
go build -o ./ipfs-pinning main.go
-
copy
ipfs-pinning.service
to/etc/systemd/system/
-
sudo systemctl daemon-reload
-
sudo systemctl start fula-upload-server
-
sudo systemctl enable fula-upload-server
-
If needed you can also follow the readme for ipfs-server to setup and ipfs endpoint