Skip to content

Feedback:  #11

@benzmuircroft

Description

@benzmuircroft

I have been looking all around the net at other people being confused on how to get rtc.io set up (It being a collection of node modules but, to be run in the browser It didn't immediately hit me how to do this. )

I think I have the correct idea now:

  • first install all the node modules you need (I needed rtc-quickconnect, rtc-mesh and crdt)
  • then make a node script that looks like you are going to run it in node but your not (I just copied the example https://github.com/rtc-io/rtc-mesh/blob/master/examples/crdt.js and called it test.js )
  • then you need to browserify test.js -o clientside.test.js so you can include it in your html page via a script tag.

If I am doing this correctly now I think putting an instruction ^like above^ on every one of your (npm/github rtc realated) pages in a section called To Run/Build This. because it really isn't clear that your modules are made to be building blocks in node with the specific intention of being finally packed together by Browserify. Hope this helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions