Redeploy donations endpoint
AnotherDroog opened this issue · 2 comments
AnotherDroog commented
It would be neat to reuse our pi-factory
tooling and containers when deploying this time, to have a unified architecture
That makes documentation, maintenance, etc much easier!
meeDamian commented
Not sure what you mean here?
If you want to download latest release, you can just use sth like:
curl -sL $(curl -s https://api.github.com/repos/lncm/donations/releases/latest | jq -r '.assets[].browser_download_url' | grep index | head -n1) > index.html
Alternatively, if you know version you want to download you can just go directly for it with:
curl -sL https://github.com/lncm/donations/releases/download/<VERSION>/index-<VERSION>.html > index.html
AnotherDroog commented
We’ve automated setting up the LN node, so deploying the entire system programmatically, in containers or otherwise looks desirable
A functional test that is funded with testnet coins could give some assurance on a working endpoint that generates invoices successfully
It would be possible to run within a compose file of lnd, invoicer and noma