1
2

More than 3 years have passed since last update.

Raspberry Pi に東京都の新型コロナウイルス感染症対策サイトをインストール

Last updated at Posted at 2020-04-28

東京都の新型コロナウイルス感染症対策サイトを Raspberry Pi にインストールする方法です。

必要なソフトのインストール

Node.js

curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt install -y nodejs

インストールされたバージョン

$ node --version
v14.4.0

yarn

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn

インストールされたバージョン

$ yarn --version
1.22.4

ソースコードのクローン

git clone https://github.com/tokyo-metropolitan-gov/covid19.git

依存関係のインストール

cd covid19
yarn install

実行

yarn dev

http://localhost:3000 にアクセス
tokyo_apr28.png

1
2
4

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2