Browse Source

Merge pull request #14 from thingsSDK/windows-mods

Windows mods
Craig Dennis 9 years ago
parent
commit
33d01fc73d
3 changed files with 29 additions and 1 deletions
  1. 10 1
      .travis.yml
  2. 17 0
      README.md
  3. 2 0
      package.json

+ 10 - 1
.travis.yml

@@ -1,3 +1,12 @@
 language: node_js
+env:
+  - CXX=g++-4.8
+addons:
+  apt:
+    sources:
+      - ubuntu-toolchain-r-test
+    packages:
+      - g++-4.8
 node_js:
-    - "5"
+    - "5"
+    - "6.0.0"

+ 17 - 0
README.md

@@ -12,11 +12,28 @@ EP-12 devices like the Adafruit Huzzah and Adadfruit Feather Huzzah.
 
 ## Run the GUI
 
+### OS X
+
 ```bash
 npm install
 npm start
 ```
 
+### Windows 10
+
+You'll need installed:
+
+* Visual Studio Community Edition (or better) installed with Windows 8/8.1 SDK.
+* Python 2.7
+
+```
+npm install
+del node_modules\serialport\build\Release\serialport.node
+del node_modules\nslog\build\Release\nslog.node
+npm run rebuild
+npm start
+```
+
 -------
 
 ## ROM Communication

+ 2 - 0
package.json

@@ -5,6 +5,7 @@
   "main": "index.js",
   "scripts": {
     "start": "electron index.js",
+    "rebuild": "electron-rebuild",
     "test": "mocha"
   },
   "repository": {
@@ -35,6 +36,7 @@
   "devDependencies": {
     "chai": "^3.5.0",
     "electron-prebuilt": "^0.36.9",
+    "electron-rebuild": "^1.1.3",
     "mocha": "^2.4.5"
   }
 }