(archive) Rholang Web 0.1
Goals:
Provide a mechanism for users to author Rholang smart contracts, compile and run these contracts via a Web interface
Done when:
Deliver Rholang Web Sandbox in Docker image.
In more detail:
Tutorial specific examples appear in the drop down. Mercury samples do not appear.
Web Sandbox available in Docker distribution.
Able to save contracts I create
Branding of the Web Compiler matches RChain's look and feel (black and Red at least)
What is needed:
Testing
Project | |
Lead | @Kyle Butt |
Status | In Dev |
Start Date | Jan 1, 2018 |
Completion Date | TBD |
Stakeholders
Name | Role | Reviewed |
|---|---|---|
@Lucius Meredith | CEO- CoOp | |
@Nash Foster | CEO- Pyrofex |
Action Items:
Launch Readiness Review:
Open Issues affecting the release
Docker instructions:
rchain/rholang-web
The compile-and-run pipeline has been packaged up for use as a web application. This application is also made available via docker, so that individuals may run it locally.
docker run -ti --net host rchain/rholang-webwill cause a web server to listen on port 8000, which a browser can reach at localhost:8000.
Note on ports
It has been reported that the default port of 8000 may not work in all cases. Docker has an on-again-off-again relationship with local networking, having been designed for service-level, cloud computing. To try to alleviate some networking pain, the container accepts a single argument (after the image name) that tells it on which port to listen. For example, using host networking (usually the simplest) and port 80 (the normal port for HTTP traffic):
docker run -ti --net host rchain/rholang-web 80causes the webserver to look "normal" to a browser, so going to localhost may work.
Another alternative to try, if that fails on your machine, is to use docker's own networking and expose the port
docker run -ti -p 80:80 rchain/rholang-web 80which has been reported to work better in some cases.