mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Removed submodule for HAP-NodeJS and moved to NPM
It seemed to be easier all around to use NPM to manage the dependancy on HAP-NodeJS. This PR removes the submodule, and adjusts the paths of all checked in shims to reference the NPM module instead. I also updated the documentation to reflect the simpler install ;)
This commit is contained in:
@@ -53,17 +53,13 @@ Additionally, the shims I've created implement the bare minimum of HomeKit neede
|
||||
|
||||
# Getting Started
|
||||
|
||||
OK, if you're still excited enough about ordering Siri to make your coffee (which, who wouldn't be!) then here's how to set things up. First, clone this repo and also init submodules to grab the [HAP-NodeJS](https://github.com/KhaosT/HAP-NodeJS) project which isn't in npm. You'll also need to run `npm install` on HAP-NodeJS:
|
||||
OK, if you're still excited enough about ordering Siri to make your coffee (which, who wouldn't be!) then here's how to set things up. First, clone this repo:
|
||||
|
||||
$ git clone https://github.com/nfarina/homebridge.git
|
||||
$ cd homebridge
|
||||
$ git submodule init
|
||||
$ git submodule update
|
||||
$ npm install
|
||||
$ cd lib/HAP-NodeJS
|
||||
$ npm install
|
||||
|
||||
**Node**: You'll need to have NodeJS version 0.12.x or better installed for `HAP-NodeJS` to load.
|
||||
**Node**: You'll need to have NodeJS version 0.12.x or better installed for required submodule `HAP-NodeJS` to load.
|
||||
|
||||
Now you should be able to run the homebridge server:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user