(archive) Rholang Web 0.1

(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:

What's unique about Rholang
Getting started documentation
Installation and running instructions
Links to tutorial & Developer portal inside the Web interface
Pointed specific examples of contracts.

New examples authored by Mike - start with 'tut-' 
Contributing / getting involved section
Download link (location) - Comes with Docker

 

Testing

Test the docker package
iPad testing - Medha - tomorrow afternoon.
Chrome, Safari -
OSX testing - Safari, Chrome

 

 

key summary assignee status sprint
Loading...
Refresh

 

Project

Rholang

Lead

@Kyle Butt

Status

In Dev

Start Date

Jan 1, 2018 

Completion Date

TBD

Stakeholders

Name

Role

Reviewed

Name

Role

Reviewed

@Lucius Meredith

CEO- CoOp 

 

@Nash Foster

CEO- Pyrofex 

 

Action Items:

 

Launch Readiness Review:

 

Is the code of high quality?
Has it been tested
What is the test program
@Michael Stay (Unlicensed): Example contracts tested with compiler 
@Medha Parlikar (Unlicensed): Example contracts tested in web Compiler & run in C++ Rosette
@Michael Stay (Unlicensed): Tutorial code snippets tested with compiler
Are there any known issues with the product? Yes
Are these documented? - Yes - on Github
Are any of the known issues blockers? - No
Does the release build via CI nightly?
Rholang Compiler
Rosette
Rholang Web
Have built what we set out to build at the onset? Does the release match what we have communicated in the launch plan?
Is documentation ready?
Installation instructions for Docker- Web Compiler - example: https://store.docker.com/community/images/rchain/rchain-comm
Installation instructions for Docker - SDK
Updated rholang/ReadMe.MD on Github for changes recently made
Update rholang/ReadMe.MD on Github for SDK download & Run instructions
Update rholangweb/Readme.MD to include docker run information.→ Deferred
License the code will be released under. GPL v2: http://openjdk.java.net/legal/gplv2+ce.html 
Support program
Developer Forum.  Will need the URL in the release page & Github. - Forum coming soon - need a date when it will be ready.
Show the release to the membership
Trial run: In Dev Standup with Greg 
Forum: Community hangout
Review documentation about the release
Demo to Members
Merge to Master
Cut the release in Github
Create Docker download link
Publish to the web & Community

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-web

will 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 80

causes 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 80

which has been reported to work better in some cases.