-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.3.1: bug fixed; guides updated; npm postinst updated.
- Loading branch information
Showing
6 changed files
with
35 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,7 @@ during the installation the procedure asks the following information: | |
|
||
* ##### Install dependencies using npm | ||
``` | ||
npm install -g --unsafe [email protected] requestify mysql nconf ip express node-uuid [email protected] [email protected] q body-parser ps-node nodemailer nodemailer-smtp-transport swagger-jsdoc cors bcrypt@3.0.0 optimist jsonwebtoken md5 crypto | ||
npm install -g --unsafe [email protected] requestify@0.2.5 mysql@2.16.0 nconf@0.10.0 ip@1.1.5 express@4.16.4 node-uuid@1.4.8 [email protected] [email protected] q@1.5.1 body-parser@1.18.3 ps-node@0.1.6 nodemailer@4.6.7 nodemailer-smtp-transport@2.7.4 swagger-jsdoc@1.9.7 cors@2.8.4 bcrypt@1.0.3 optimist@0.6.1 jsonwebtoken@8.3.0 md5@2.2.1 crypto@1.0.1 | ||
npm install -g --unsafe @mdslab/wstun | ||
``` | ||
|
@@ -77,8 +77,7 @@ npm install -g --unsafe @mdslab/wstun | |
mkdir /var/lib/iotronic/ | ||
cd $NODE_PATH/ | ||
git clone git://github.com/MDSLab/s4t-iotronic-standalone.git | ||
mv s4t-iotronic-standalone/ iotronic-standalone | ||
git clone --depth=1 git://github.com/MDSLab/s4t-iotronic-standalone.git ./iotronic-standalone | ||
cp $NODE_PATH/iotronic-standalone/etc/init.d/s4t-iotronic /etc/init.d/ | ||
chmod +x /etc/init.d/s4t-iotronic | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ We tested this procedure on a Ubuntu 16.04 (within a LXD container also). Everyt | |
|
||
##### Install dependencies via apt-get | ||
``` | ||
apt -y install build-essential python-dev python-setuptools libyaml-dev libpython2.7-dev mysql-server nmap apache2 unzip socat bridge-utils python-pip python-httplib2 libssl-dev libffi-dev | ||
apt -y install build-essential python-dev python-setuptools libyaml-dev libpython2.7-dev mysql-server nmap apache2 unzip socat bridge-utils python-pip python-httplib2 libssl-dev libffi-dev python3-pip | ||
``` | ||
|
||
##### Install Crossbar.io router | ||
``` | ||
pip install crossbar | ||
pip3 install crossbar | ||
``` | ||
|
||
##### Install latest LTS NodeJS (and npm) distribution: | ||
|
@@ -63,7 +63,7 @@ during the installation the procedure asks the following information: | |
|
||
* ##### Install dependencies using npm | ||
``` | ||
npm install -g --unsafe [email protected] requestify mysql nconf ip express node-uuid [email protected] [email protected] q body-parser ps-node nodemailer nodemailer-smtp-transport swagger-jsdoc cors bcrypt@3.0.0 optimist jsonwebtoken md5 crypto | ||
npm install -g --unsafe [email protected] requestify@0.2.5 mysql@2.16.0 nconf@0.10.0 ip@1.1.5 express@4.16.4 node-uuid@1.4.8 [email protected] [email protected] q@1.5.1 body-parser@1.18.3 ps-node@0.1.6 nodemailer@4.6.7 nodemailer-smtp-transport@2.7.4 swagger-jsdoc@1.9.7 cors@2.8.4 bcrypt@1.0.3 optimist@0.6.1 jsonwebtoken@8.3.0 md5@2.2.1 crypto@1.0.1 | ||
npm install -g --unsafe @mdslab/wstun | ||
``` | ||
|
@@ -73,8 +73,7 @@ npm install -g --unsafe @mdslab/wstun | |
mkdir /var/lib/iotronic/ | ||
cd $NODE_PATH/@mdslab/ | ||
git clone git://github.com/MDSLab/s4t-iotronic-standalone.git | ||
mv s4t-iotronic-standalone/ iotronic-standalone | ||
git clone --depth=1 git://github.com/MDSLab/s4t-iotronic-standalone.git ./iotronic-standalone | ||
cp $NODE_PATH/@mdslab/iotronic-standalone/etc/systemd/system/iotronic-standalone.service /etc/systemd/system/ | ||
sed -i "s|ExecStart=<IOTRONIC-LAUNCHER>|ExecStart=$NODE_PATH/@mdslab/iotronic-standalone/bin/server|g" /etc/systemd/system/iotronic-standalone.service | ||
|
@@ -235,7 +234,7 @@ node $NODE_PATH/@mdslab/iotronic-standalone/utils/createAdminToken.js <PASSWORD> | |
"encryptKey": "<ENC-KEY>", | ||
"adminToken": "<GENERATED-BEFORE>", | ||
"backend": "iotronic", | ||
"expire_time": "30m" | ||
"expire_time": "1h" | ||
"auth_lr_mode":"basic" | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters