Permalink
Browse files

Update README.md

Add other build commands and fix existing ones.
  • Loading branch information...
BKcore committed Dec 12, 2016
1 parent 20a8216 commit b6dfd5c3f7a3c24abf38c6c8b2bd3c95a490f2a7
Showing with 8 additions and 16 deletions.
  1. +8 −16 README.md
View
@@ -13,21 +13,6 @@ Icons by AwesomeFont, Monkey head from Blender, HexMKII from HexGL.
Issues, feature requests, contributions:
[Fork me on GitHub!](https://github.com/BKcore/Shdr)
-# Run
-To test locally you don't need to build anything. The build step is only there for production and the chrome app.
-```
-cd sources
-python -m SimpleHTTPServer
-chrome editor.html
-```
-
-# Build
-If you want to test the prod version or the chrome app:
-```
-cd build
-node build.js [--output=../source/build/shdr.js] [--minify] [--chromeapp] [--persist]
-```
-
# Building and Running with npm
To install node and npm on Ubuntu:
```
@@ -36,7 +21,14 @@ sudo ln -s /usr/bin/nodejs /usr/local/bin/node
```
To build and run with npm:
```
-cd build
npm install
npm start
```
+To build only the js package:
+```
+npm build
+```
+To build the extension:
+```
+npm run build-extension
+```

0 comments on commit b6dfd5c

Please sign in to comment.