Open svanegmond opened 7 months ago
Thanks for the feedback, we really apreciate it. Could you link the bug issue that you mentions in the point 1?
When I tried on my install without uploading manually the logo and updating manually the database, I can't configure anymore a chain because it throws the error [Errno 2] No such file or directory: '/app/src/media/chains/10242/currency_logo_fETmRCD.png'
so it confirms it's not possible to upload the logo with the Django UI but I didn't expect it to break the possibility to configure the chain.
I've made it for the logo without modifying cfg-web by just modifying nginx configuration to serve /cfg/media/chains from a new media-chains mounted volume added in docker-compose.yml I will create a PR for that to let others review it.
I wanted to provide some notes on what we went through deploying Safe, finally, on the Shyft network, in addition to the steps described to add an official entry in safe-deployments.
I'm not sure that these are sensible as a PR, except maybe safe-global/safe-transaction-service#3:
cgw.env
mapping the chain ID for our chain to the name it is known as at coingecko:prices.chains.7341.nativeCoin=SHFT
This was incredibly difficult to figure out.docker-compose.yml:
revise docker/nginx/nginx.conf:
Create
docker/pages/500.html
with the desired 500 error page anddocker/media_chains/7341/currency_logo.png
(where 7341 is our chain ID) with our chain logo.Manually log into the cfg-db container, and revise the logo. This is not possible with the django UI as it is.
update chains_chain set chain_logo_uri='7341/currency_logo.png' where id=7341