Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Inmunología, IoT y Javascript; ¿qué puede salir mal?

Inmunología, IoT y Javascript; ¿qué puede salir mal?

Presentación realizada en el JsDayCAN2019 explicando el proceso de diseño y creación del InmunoGame con Javascript of Things y Angular of Things.

Azahara Fernández Guizán

November 10, 2019
Tweet

More Decks by Azahara Fernández Guizán

Other Decks in Programming

Transcript

  1. Copyright © Sngular. All rights reserved. Juan Manuel Rodríguez Pérez

    @juan_manuel_rp jmrp81 Azahara Fernández Guizán @Azahara_fergui azaharafernandezguizan
  2. Copyright © Sngular. All rights reserved. ¿Por qué Javascript of

    things? 3 Curva de aprendizaje Node modules Angular of Things
  3. Copyright © Sngular. All rights reserved. Recursos 5 Webs Jhonny

    Five: http://johnny-five.io/ Node y GPIO https://www.w3schools.com/nodejs/nod ejs_raspberrypi_gpio_intro.asp Raspberrry PI https://www.raspberrypi.org/
  4. Copyright © Sngular. All rights reserved. Recursos 6 Comunidad Sergio

    Morcuende https://twitter.com/_serxius_ https://www.youtube.com/watch?v=girA0gsn-fs Programar es una mierda https://www.programaresunamierda.com/p/comunidad -en-slack.html Nuria Prieto https://twitter.com/nuria_imeq Luis Llamas https://www.luisllamas.es/tutoriales-de-arduino/
  5. Copyright © Sngular. All rights reserved. Actualizar paquetes de la

    Raspberry Pi 15 $ sudo apt full-upgrade –y $ sudo apt-get update
  6. Copyright © Sngular. All rights reserved. Eliminar las versiones de

    Node que puedan existir 16 $ sudo apt-get remove nodered –y $ sudo apt-get remove nodejs nodejs-legacy –y
  7. Copyright © Sngular. All rights reserved. Descargar e instalar Node

    17 $ curl -sL http://deb.nodesource.com/setup_11.x | sudo bash - $ sudo apt-get install -y nodejs
  8. Copyright © Sngular. All rights reserved. EJECUTAR COMO UN DEMONIO

    44 En Raspberry Pi /etc/rc.local: su pi –c ‘node /home/pi/Desktop/AngularServer/serve r-app/appServer.js < /devnull&’ forever start –c ‘node --max-old- space-size=2048’ /home/pi/Desktop/InmunoGame/inmun oGame.js /dev/null > /home/pi/Desktop/inmunoGame_log.txt &