Skip to content

Navigation Menu

Sign up

Developers

Perry edited this page Feb 27, 2020 · 38 revisions

We welcome all community developers who would like to help with Firebot. If you'd like to participate we recommend starting with some "Entry Level" bugs or feature requests on the issues page. After a commit or two you'll be invited to the Firebot developer discord where we discuss everything.

IDE

We highly recommend you use Visual Studio Code, but you are welcome to use whatever IDE you prefer.

Prerequisites

  • Nodejs v8 or later
  • Npm v5 or later

Required packages:
(run with admin privs)

  • grunt-cli (npm install -g grunt-cli)
  • node-gyp(npm install -g node-gyp)
  • windows-build-tools (npm install -g windows-build-tools)

EBIGGZ V5 1/17/2020 Install Notes

  • Install latest stable Node (v.12.14.1)
  • Install latest NPM (v6.13.4) (comes with Node typically)
  • Run in powershell:
    npm install --global node-gyp@latest
    npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
  • Pull latest from v5 branch
  • Run npm run setup in root folder of Firebot repo

Windows

Setting up the repo

  1. Clone the Firebot repo to your computer.
  2. Using a shell of your preference (powershell, cmd, git bash), cd to the newly cloned repo directory (ie cd C:\some\path\GitHub\Firebot\)
  3. Run npm run setup (This will install packages, rebuild robotjs, and build node packages for Electron)
  4. After the setup command completes (may take awhile), run npm start
  5. Once it is done building, Firebot should automatically start.

Linux

Preparing development environment on Debian 10.x or newer & Ubuntu 18.04 or newer.

apt install nodejs npm libx11-dev libxtst-dev libpng-dev

The last three packages are needed to compile robot.js / node-gyp.

Installing necessary global NodeJS packages

npm install -g grunt-cli npm install -g node-gyp

Getting the repository

git clone https://github.com/crowbartools/Firebot.git

Making sure everything Firebot needs to run gets installed

npm run setup

Starting Firebot

npm start

Mac

Prepare your macOS for Firebot Development

brew install node

Install global packages needed for working with and packaging Firebot

npm install --global --production grunt-cli node-gyp

Clone the Firebot repository

git clone https://github.com/crowbartools/Firebot.git

Install and compile all needed Node packages and resources needed to get Firebot running

npm run setup

Compile SCSS manually due to missing platform detection for macOS(Darwin) in current Grunt setup

grun scss --platform=linux

Star Firebot

(without scss compiling due to same reason as previous step)

npm run start:noscss

Packaging A Firebot Installer

  1. Update the version value in package.json.
  2. npm run package
  3. Grunt should output installers to the /dist folder.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /