dial-a-device-node
dial-a-device-node is the device interface for dial-a-device
Last updated 5 years ago by cominch .
GPLv3 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dial-a-device-node 
SYNC missed versions from official npm registry.

dial-a-device-node

This package contains a gem AND a npm package AND a standalone node.js application.

Installation in node.js (Ubuntu Linux)

Install the latest node.js and node package manager

sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs git-core curl build-essential openssl libssl-dev coffeescript

Install the packages manually for development use: Download the dial-a-device-node source code and the required packages

sudo git clone https://github.com/Cominch/dial-a-device-node.git

sudo npm install -g coffee-script
sudo npm install -g serialport
sudo npm install -g websocket
sudo npm install -g bonescript
sudo npm install -g getmac

Go! on Linux

Make sure your user is in the dialout group or give full access to your serial port

	sudo chmod 777 /dev/ttyUSB0

Edit start.js

	Define your serial port and websocket URL, if you don't want to use the default values

Run the dial-a-device-node client

	node start.js

Installation on BeagleBone (Angstrom Linux) for development and debugging

Install required OS packages

opkg update
opkg install python-compiler
opkg install python-misc
opkg install python-multiprocessing

Install the npm package

npm update
npm install -g coffee-script
npm install -g serialport
npm install -g websocket
npm install -g getmac

cd /var/lib/cloud9

env GIT_SSL_NO_VERIFY=true git clone https://github.com/Cominch/dial-a-device-node

cd /var/lib/cloud9/dial-a-device-node

npm install

node start.js

You can access and modify the source code via the cloud9 editor on your BeagleBone:

http://192.168.7.2:3000

Installation as part of a Ruby on Rails project (gem)

Add this line to your application's Gemfile:

gem 'dial_a_device_node'

Change these settings in /config/environments/production.rb

config.serve_static_assets = true
config.assets.compress = false
config.assets.compile = true

And then execute:

$ bundle

Or install it yourself as:

$ gem install dial_a_device_node

License

GPLv3

Current Tags

  • 0.0.158                                ...           latest (5 years ago)

138 Versions

  • 0.0.158                                ...           5 years ago
  • 0.0.157                                ...           5 years ago
  • 0.0.156                                ...           5 years ago
  • 0.0.154                                ...           5 years ago
  • 0.0.153                                ...           5 years ago
  • 0.0.152                                ...           6 years ago
  • 0.0.151                                ...           6 years ago
  • 0.0.150                                ...           6 years ago
  • 0.0.149                                ...           6 years ago
  • 0.0.148                                ...           6 years ago
  • 0.0.147                                ...           6 years ago
  • 0.0.146                                ...           6 years ago
  • 0.0.145                                ...           6 years ago
  • 0.0.142                                ...           6 years ago
  • 0.0.141                                ...           6 years ago
  • 0.0.140                                ...           6 years ago
  • 0.0.139                                ...           6 years ago
  • 0.0.138                                ...           6 years ago
  • 0.0.137                                ...           6 years ago
  • 0.0.136                                ...           6 years ago
  • 0.0.135                                ...           6 years ago
  • 0.0.134                                ...           6 years ago
  • 0.0.133                                ...           6 years ago
  • 0.0.132                                ...           6 years ago
  • 0.0.131                                ...           6 years ago
  • 0.0.130                                ...           6 years ago
  • 0.0.129                                ...           6 years ago
  • 0.0.128                                ...           6 years ago
  • 0.0.126                                ...           6 years ago
  • 0.0.125                                ...           6 years ago
  • 0.0.124                                ...           6 years ago
  • 0.0.123                                ...           6 years ago
  • 0.0.122                                ...           6 years ago
  • 0.0.121                                ...           6 years ago
  • 0.0.120                                ...           6 years ago
  • 0.0.119                                ...           6 years ago
  • 0.0.118                                ...           6 years ago
  • 0.0.117                                ...           6 years ago
  • 0.0.116                                ...           6 years ago
  • 0.0.115                                ...           6 years ago
  • 0.0.114                                ...           6 years ago
  • 0.0.113                                ...           6 years ago
  • 0.0.112                                ...           6 years ago
  • 0.0.111                                ...           6 years ago
  • 0.0.110                                ...           6 years ago
  • 0.0.109                                ...           6 years ago
  • 0.0.108                                ...           6 years ago
  • 0.0.106                                ...           6 years ago
  • 0.0.105                                ...           6 years ago
  • 0.0.104                                ...           6 years ago
  • 0.0.103                                ...           6 years ago
  • 0.0.102                                ...           6 years ago
  • 0.0.101                                ...           6 years ago
  • 0.0.100                                ...           6 years ago
  • 0.0.99                                ...           6 years ago
  • 0.0.98                                ...           6 years ago
  • 0.0.97                                ...           6 years ago
  • 0.0.96                                ...           6 years ago
  • 0.0.95                                ...           6 years ago
  • 0.0.94                                ...           6 years ago
  • 0.0.93                                ...           6 years ago
  • 0.0.92                                ...           6 years ago
  • 0.0.91                                ...           6 years ago
  • 0.0.90                                ...           6 years ago
  • 0.0.89                                ...           6 years ago
  • 0.0.87                                ...           6 years ago
  • 0.0.86                                ...           6 years ago
  • 0.0.85                                ...           6 years ago
  • 0.0.84                                ...           6 years ago
  • 0.0.83                                ...           6 years ago
  • 0.0.82                                ...           6 years ago
  • 0.0.81                                ...           6 years ago
  • 0.0.80                                ...           6 years ago
  • 0.0.79                                ...           6 years ago
  • 0.0.78                                ...           6 years ago
  • 0.0.77                                ...           6 years ago
  • 0.0.76                                ...           6 years ago
  • 0.0.75                                ...           6 years ago
  • 0.0.74                                ...           6 years ago
  • 0.0.73                                ...           6 years ago
  • 0.0.72                                ...           6 years ago
  • 0.0.71                                ...           6 years ago
  • 0.0.70                                ...           6 years ago
  • 0.0.69                                ...           6 years ago
  • 0.0.68                                ...           6 years ago
  • 0.0.65                                ...           6 years ago
  • 0.0.64                                ...           6 years ago
  • 0.0.63                                ...           6 years ago
  • 0.0.62                                ...           6 years ago
  • 0.0.61                                ...           6 years ago
  • 0.0.60                                ...           6 years ago
  • 0.0.59                                ...           6 years ago
  • 0.0.58                                ...           6 years ago
  • 0.0.57                                ...           6 years ago
  • 0.0.56                                ...           6 years ago
  • 0.0.55                                ...           6 years ago
  • 0.0.54                                ...           6 years ago
  • 0.0.53                                ...           6 years ago
  • 0.0.51                                ...           6 years ago
  • 0.0.49                                ...           6 years ago
  • 0.0.46                                ...           6 years ago
  • 0.0.45                                ...           6 years ago
  • 0.0.44                                ...           6 years ago
  • 0.0.43                                ...           6 years ago
  • 0.0.42                                ...           6 years ago
  • 0.0.41                                ...           6 years ago
  • 0.0.40                                ...           6 years ago
  • 0.0.39                                ...           6 years ago
  • 0.0.38                                ...           6 years ago
  • 0.0.37                                ...           6 years ago
  • 0.0.36                                ...           6 years ago
  • 0.0.35                                ...           6 years ago
  • 0.0.34                                ...           6 years ago
  • 0.0.33                                ...           6 years ago
  • 0.0.32                                ...           6 years ago
  • 0.0.31                                ...           6 years ago
  • 0.0.30                                ...           6 years ago
  • 0.0.29                                ...           6 years ago
  • 0.0.28                                ...           6 years ago
  • 0.0.26                                ...           6 years ago
  • 0.0.24                                ...           6 years ago
  • 0.0.22                                ...           7 years ago
  • 0.0.21                                ...           7 years ago
  • 0.0.20                                ...           7 years ago
  • 0.0.19                                ...           7 years ago
  • 0.0.16                                ...           7 years ago
  • 0.0.15                                ...           7 years ago
  • 0.0.14                                ...           7 years ago
  • 0.0.11                                ...           7 years ago
  • 0.0.10                                ...           7 years ago
  • 0.0.9                                ...           7 years ago
  • 0.0.8                                ...           7 years ago
  • 0.0.7                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |