mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-02-15 23:45:12 -05:00
We had two files in the repo, which was confusing. Add documentation and remove the one that isn't used. While here, fix the configuration to work with Envoy.
In order for farcaster to support grpc-web, we need to set up envoy alongside the server.
Requirement
Install docker if the farcaster instance doesn't support docker yet
ssh ubuntu@<farcaster instance ipv4 address> -i key.pem
chmod +x install-docker.sh
./install-docker.sh
logout of the ssh session
re-login
Infra setting
update inbound/outbound traffic to allow tcp through envoy port (default: 2284)
Start envoy
update envoy.yaml for the correct rpc port (default: 2283) and envoy port (default: 2284)
chmod +x envoy-start.sh
./envoy-start.sh
you should be able to see an envoy process under docker ps
Contributing
Please see our contributing guidelines before making a pull request.
License
MIT License