/bingo-layout

NodeCG bundle ビンゴ及びレース用汎用レイアウト

Primary LanguageJavaScriptOtherNOASSERTION

bingo-layout is a NodeCG bundle.

It works with NodeCG versions which satisfy this semver range: ^1.1.1

You will need to have an appropriate version of NodeCG installed to use it.

インストール

NodeCGのインストール

本ファイルはNodeCGの"bundle"ファイルです。

NodeCGのインストールページに従って、下記コマンドを入力するところまで実施してください。

npm install -g bower
git clone https://github.com/nodecg/nodecg.git
cd nodecg
npm install --production
bower install
node index.js

bundleの配置

Node.js及びNodeCGのインストールが完了したら、本プログラムをダウンロードしてください。

GitHub(恐らくみなさんが見ているであろうページ)の右上あたり、

「Clone or download」→「Download ZIP」でダウンロードできます。

展開した本ファイルを、NodeCGの「budle」フォルダに格納してください。

例:
bundles
└─bingo-layout
  └─dashboard
  └─・・・

格納したら、「bingo-layout」フォルダでコマンドプロンプトを起動し、「npm install」を実行してください。

> cd \bundles\bingo-layout
> npm install

以上でインストールは終了です。

設定ファイルの追加

本レイアウト実行に必要なファイルを格納します。 bingo-layoutフォルダ直下にあるbingo-layout.jsonを、NodeCGフォルダ直下のcfgフォルダに格納してください。

+ NodeCG
  + bundles
  + cfg
    - bingo-layout.json
  + ...

NodeCGの起動

NodeCGをインストールしたフォルダで、以下のコマンドを入力し、NodeCGを起動します。

> node index.js

表示されるlocalhostのアドレスにアクセスすることで、操作が可能になります。