LNP-WG / lnp-node

Lightning network protocol daemon (suitable for generalized Lightning Network)
MIT License
145 stars 40 forks source link

Demo alpha.4 #26

Closed St333p closed 3 years ago

St333p commented 3 years ago

This PR introduces an alternative setup for the alpha.4 demo with docker support.

The image is built by installing lnp-node from crates.io, and a simple compose file allows to setup a couple of nodes inside containers and to handle interaction between them. Dockerfile and docker-compose.yml are in the demo directory.

The guide is included in demo/README.md with necessary updates.

St333p commented 3 years ago

Note: Dockerfile is temporary, it will be removed from here when the lnp-node image will be uploaded to docker hub.

dr-orlovsky commented 3 years ago

Pls wait for a moment, the final code from the demo is not even there yet

St333p commented 3 years ago

this PR only covers last week's demo, the one you did on Oct 28th, just using code from alpha.4 tag for convenience (as suggested in #22). In the next days I'll spend some time to reproduce yesterday's demo and I'll update the guide as long as you publish the code for it.

dr-orlovsky commented 3 years ago

Ah, ok, I see. I think it will be nice to maintain an old md file name with alpha 4 suffix - or put it into a subdirectory together with docker files, so we can add new demos later w/o removing this one.

Also, lets keep it inside the doc folder just not too multiply top-level dirs.

St333p commented 3 years ago

The tagged subdirectory option looked better to me since docker files will be different for each demo and having the demo md file named "README.md" causes it to show up when you open the dir in the web interface.