Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Installation

Liam Barry edited this page Jun 26, 2019 · 2 revisions

Installation

  1. git clone https://github.com/WorksOfBarry/barryCI.git to get the source.
    • for SSH: git clone git@github.com:worksofbarry/barryCI.git
  2. npm i to install the dependencies.
  3. node index and then Control+C to stop the app. This will generate config.json.

When running the barryCI script, pm2 is a good option.

Configuring the server

The only place you need to do any setup is in the config.json, which is generated the first time you start the app. These are the attributes you need to setup correctly:

  • address - the remote address that will be access from GitHub.
  • port - the port number for the app.
  • store_stdout - if true, standard out will not be stored if successful. Standard error is always saved.
  • login - the login which can is used from the web application.

That's the only configuration required before running barryCI. You can access the barryCI interface by going to localhost:port/login and using the login you setup in the configuration.