Giter Site home page Giter Site logo

n-harzallah / chan-dongle-extended Goto Github PK

View Code? Open in Web Editor NEW

This project forked from garronej/chan-dongle-extended

0.0 0.0 0.0 1.07 MB

An extention for chan_dongle: PIN codes, multipart SMS, contacts.

Home Page: https://garronej.github.io/chan-dongle-extended-pages/

JavaScript 7.69% TypeScript 92.31%

chan-dongle-extended's Introduction

Chan-dongle-extended

WEBSITE

Installing node

Note for 2021: Save yourself some time, at least for developement, use Debian 9: Stretch

On armv6 hosts ( raspberry pi 1 )

# We can't install it from the repository so we have to download it manually:
# ( The download link is on the download page of the node.js website )
$ cd ~ && wget https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-armv6l.tar.xz
$ tar xf node-v8.*-linux-armv6l.tar.xz
# Add the path to node bin dir to the PATH, .bashrc:  export PATH=/home/pi/node-v8.12.0-linux-armv6l/bin:$PATH
$ source ~/.bashrc
$ sudo su
$ npm install -g npm@latest-5

On any other host ( armv7, x32, x64 )

$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo npm install -g npm@latest-5

Publish release

To build, bundle and publish a new release for a specifics arch there is no need to npm install just clone this repo then:

  • run npm run partial_install ( without sudo, only first time )
  • run npm run release ( without sudo )

Run local copy of the code for debugging

$ npm install
$ sudo ./node dist/bin/installer install
$ npm start 

Note regarding dependencies

At the time of writing these lines libudev-dev ( https://packages.debian.org/fr/jessie/libudev-dev ) is the development package targeting 'libudev1' for jessie, stretch and buster ( oldstable, stable and testing) Make sure it is still the case when building a new release. Indeed 'cheery/node-udev' is not recompiled on client's host so if it happen that libudev1 is not available on a resent release of debian or ubuntu it will not work. In short make sure that we does not found ourselves in the situation of libssl-dev ( https://packages.debian.org/fr/jessie/libssl-dev ) Where the target is the packet 'libssl1.0.0' for jessie and 'libssl1.1' for stretch and buster.

UPDATE: The following note would be purposeful only if we decided on the future NOT to recompile 'cheery/node-udev' on the client host but currently we do so the note can be ignored.

chan-dongle-extended's People

Contributors

garronej avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.