Public | Automated Build

Last pushed: a year ago
Short Description
Web interface to control CrowdControl.
Full Description

Control UI


Web interface for CrowdControl.

Configuration

If you want to modify the config, use a local config to override the main config.

# ./src/js/config.local.js
let config = {
    apiRoot: "https://api.pse.kelunik.com/",
    authentication: true
};

export default config;

Installation

Native

# Install gulp as global binary
sudo npm install -g gulp

# Clone git repository and change directory
git clone https://github.com/coolcrowd/control-ui && cd control-ui

# Install dependencies using npm
npm install

# Build production version
gulp production

# Configure your web server to serve ./build

Using Docker

# Clone git repository and change directory
git clone https://github.com/coolcrowd/control-ui && cd control-ui

docker build -t crowdcontrol/control-ui .
docker run -d -p 80:80 crowdcontrol/control-ui

Development

During development, use gulp without any arguments to enter development mode.
Files are automatically watched and rebuilt on change.
Updated stylesheets will be injected automatically, no page reload required.

Tests

We use Karma for running tests.

# Running tests on your local machine requires Google Chrome
gulp karma

Tests are automatically executed for every push and pull request.

Docker Pull Command
Owner
coolcrowd
Source Repository

Comments (0)