Merge pull request #460 from cwillisf/update-readme-playground

Update playground paths in README.md
This commit is contained in:
Chris Willis-Ford 2017-02-17 15:25:42 -08:00 committed by GitHub
commit ddee4186b8

View file

@ -31,7 +31,7 @@ npm start
``` ```
## Playground ## Playground
To run the Playground, make sure the dev server's running and go to [http://localhost:8073/](http://localhost:8073/) - you will be directed to the playground, which demonstrates various tools and internal state. To run the Playground, make sure the dev server's running and go to [http://localhost:8073/playground/](http://localhost:8073/playground/) - you will be directed to the playground, which demonstrates various tools and internal state.
![VM Playground Screenshot](https://i.imgur.com/nOCNqEc.gif) ![VM Playground Screenshot](https://i.imgur.com/nOCNqEc.gif)
@ -50,7 +50,7 @@ npm run build
``` ```
## How to include in a Node.js App ## How to include in a Node.js App
For an extended setup example, check out the /playground directory, which includes a fully running VM instance. For an extended setup example, check out the /src/playground directory, which includes a fully running VM instance.
```js ```js
var VirtualMachine = require('scratch-vm'); var VirtualMachine = require('scratch-vm');
var vm = new VirtualMachine(); var vm = new VirtualMachine();