scratch-www/README.md

25 lines
704 B
Markdown
Raw Normal View History

2015-09-02 16:33:31 -04:00
## scratch-www
#### Standalone web client for Scratch
2015-09-02 15:08:58 -04:00
2015-09-02 15:11:22 -04:00
[![Build Status](https://magnum.travis-ci.com/LLK/scratch-www.svg?token=xzzHj4ct3SyBTpeqxnx1)](https://magnum.travis-ci.com/LLK/scratch-www)
2015-09-02 15:08:58 -04:00
### To Build
```bash
2015-09-02 16:45:58 -04:00
npm install
npm run build
```
During development, you can use `npm run watch` to cause any update you make to files in either `./static` or `./src` to trigger a rebuild of the project.
### To Run
```bash
2015-09-02 15:08:58 -04:00
npm start
```
Once running, open `http://localhost:8888` in your browser. If you wish to have the server reload automatically, you can install either [nodemon](https://github.com/remy/nodemon) or [forever](https://github.com/foreverjs/forever).
2015-09-02 15:08:58 -04:00
### To Test
```bash
npm test
```