タグ

2016年4月15日のブックマーク (2件)

  • Raspberry Pi + NodeJS

    How to set up a Node.js-environment on your Raspberry Pi and have it run on boot. 1. Set up your Raspberry Pi Running a basic setup of Raspbian on a Raspberry Pi is very easy and clearly explained in their Getting Started Guide. Download NOOBS, extract it on your SD, plug it in and turn on the Raspberry Pi. When prompted, choose to install Raspbian and let it run. 2. Install Node.js Make sure you

    Raspberry Pi + NodeJS
  • Raspberry PiとNode.jsで作る独立稼働モバイルサーバ

    Raspberry Piを購入したきっかけ 筆者がRaspberry Piを購入したのは、3,500円程度でLinuxが動くという理由からでした。よく使用するArduino Uno※1が3,000円くらいでマイコンレベルなのに比べると、性能的にはるかに安かったのです。しかし、買った時点では特に何に使おうかは考えていませんでした。とりあえず起動して、安いのにXウィンドウ動いてスゴイな、という印象でした。ところがふとしたことから、次に取り上げるNode.jsが動くらしいという情報を得て、格的にいじり始めました。 まずはNode.jsをRaspberry Piにインストールして、チャットアプリを作成するところまでを説明していこうと思います。後半ではRaspberry PiでNode.jsを使ったプロトタイピングの例を紹介します。 ※1 Arduino Uno: プロトタイピングデバイスとも呼ば

    Raspberry PiとNode.jsで作る独立稼働モバイルサーバ