velrest / customer-center

Adfinis SyGroup AG - Customer Center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Adfinis SyGroup AG - Customer Center

This is still very much in progress.

Prerequisites

Before you start, please make sure that the following tools are installed:

To use the sysupport/timed part, clone the timed-backend repository on the same level as customer-center:

git clone git@github.com:adfinis-sygroup/timed-backend.git

Setup

make install
docker-compose up

# setup LDAP structure
make setup-ldap
# sometimes the setup gets stuck with the message:
# Restarting bind9 daemon: ...done.
# Just interrupt it and run:
docker exec customercenter_ucs1_1 /usr/ucs/scripts/fill-dummy-data.sh


# apply DB migrations
make knex-migrations

# fill vault with dummy data
make setup-vault

# finish setup of the timed backend
make setup-timed

Configuration

Copy and rename the config.example.js to config.js and configure the needed endpoints.

Unclear parts of the configuration will have a comment with further information.

Development

Run docker-compose up (inital setup) or docker-compose start.

Deployment

Clone the repository and execute the following commands on your production system:

git pull
make deploy

LDAP

To authenticate against LDAP, we used the Passport LDAP authentication strategy

About

Adfinis SyGroup AG - Customer Center

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 48.3%Language:Perl 35.3%Language:HTML 10.5%Language:Shell 4.8%Language:Makefile 0.6%Language:CSS 0.5%Language:HCL 0.0%