Go to file
msquare a5878f5b5e credit typo2 2022-07-23 18:45:19 +02:00
bin migration: Prevent parallel migration runs 2020-06-28 19:31:17 +02:00
config credit typo2 2022-07-23 18:45:19 +02:00
db Generate UUID as shifts transaction id and fixed translation 2022-06-12 17:02:19 +02:00
docker Require @covers annotation for tests, increase workspace mem limit to 512M, improved coverage for db factories 2022-06-02 13:18:37 +02:00
includes Fix worklog input validation error and default to current day during buildup 2022-07-20 20:16:57 +02:00
public Moved emojis to assets 2018-09-10 22:49:46 +02:00
resources Make dropdown scrollable 2022-07-21 23:17:59 +02:00
src Fix barchart division by 0 error 2022-07-18 19:33:58 +02:00
storage storage/: .gitignore fixups 2019-10-06 17:11:06 +02:00
tests Fix barchart division by 0 error 2022-07-18 19:33:58 +02:00
.babelrc Use core-js as polyfill to really support older browsers. 2019-07-26 12:40:21 +02:00
.browserslistrc Use core-js as polyfill to really support older browsers. 2019-07-26 12:40:21 +02:00
.dockerignore Docker: Use single container for server 2022-04-29 20:22:08 +02:00
.editorconfig chore: update webpack to v5 (and related deps) 2021-05-22 17:04:39 +02:00
.gitignore Removed and replaced outdated classes and styling, use secondary buttons 2021-07-29 20:01:19 +02:00
.gitlab-ci.yml Fix CI style validation 2022-07-11 22:35:48 +02:00
.phpcs.xml Add SlevomatCodingStandard.Variables.UnusedVariable 2022-07-11 23:30:41 +02:00
CONTRIBUTING.md introduce PostCSS + Autoprefixer 2021-04-05 11:29:19 +02:00
DEVELOPMENT.md Require @covers annotation for tests, increase workspace mem limit to 512M, improved coverage for db factories 2022-06-02 13:18:37 +02:00
LICENSE directory renames and cleanup 2011-06-11 18:08:56 +02:00
README.md Remove codacy badge 2022-07-15 15:17:30 +02:00
composer.json Replace model data access workaround with twigbridge patch 2022-06-10 12:45:24 +02:00
composer.lock Bump guzzlehttp/guzzle from 7.4.4 to 7.4.5 2022-06-28 13:22:41 +02:00
deployment.tpl.yaml Docker: Use single container for server 2022-04-29 20:22:08 +02:00
package.json Bump jquery-ui from 1.13.1 to 1.13.2 2022-07-18 19:45:11 +02:00
phpunit.xml Require @covers annotation for tests, increase workspace mem limit to 512M, improved coverage for db factories 2022-06-02 13:18:37 +02:00
webpack.config.js Added assets hashing after build, added favicon 2022-04-29 22:26:58 +02:00
yarn.lock Update NPM dependencies 2022-07-20 19:15:20 +02:00

README.md

pipeline status coverage report GPL

Engelsystem

Please visit engelsystem.de for a feature list.

To report bugs use engelsystem/issues.

Since the Engelsystem is open source, you can help improving it. We really love to get pull requests containing fixes or improvements. Please read the CONTRIBUTING.md and DEVELOPMENT.md before you start.

Installation

The Engelsystem may be installed manually or by using the provided docker setup.

Requirements

  • PHP >= 7.4
    • Required modules:
      • dom
      • json
      • mbstring
      • PDO
        • mysql
      • tokenizer
      • xml/libxml/SimpleXML
      • xmlwriter
  • MySQL-Server >= 5.7.8 or MariaDB-Server >= 10.2.2
  • Webserver, i.e. lighttpd, nginx, or Apache

Download

  • Go to the Releases page and download the latest stable release file.
  • Extract the files to your webroot and continue with the directions for configurations and setup.

Configuration and Setup

  • The webserver must have write access to the storage directory and read access for all other directories

  • The webserver must point to the public directory.

  • The webserver must read the .htaccess file and mod_rewrite must be enabled

  • Recommended: Directory Listing should be disabled.

  • There must be a MySQL database set up with a user who has full rights to that database.

  • If necessary, create a config/config.php to override values from config/config.default.php.

    • To edit values from the footer_items, themes, locales, tshirt_sizes or headers lists, directly modify the config/config.default.php file or rename it to config/config.php.
  • To import the database, the bin/migrate script has to be run. If you can't execute scripts, you can use the initial-install.sql file from the release zip.

  • In the browser, login with credentials admin : asdfasdf and change the password.

The Engelsystem can now be used.

Session Settings

  • Make sure the config allows for sessions.
  • Both Apache and Nginx allow for different VirtualHost configurations.

Docker

Build

To build the es_server container:

cd docker
docker-compose build

or to build the container by its own:

docker build -f docker/Dockerfile . -t es_server

Run

Start the Engelsystem

cd docker
docker-compose up -d

Migrate

Import database changes to migrate it to the newest version

cd docker
docker-compose exec es_server bin/migrate

Scripts

bin/deploy.sh

The bin/deploy.sh script can be used to deploy the Engelsystem. It uses rsync to deploy the application to a server over ssh.

For usage see ./bin/deploy.sh -h

bin/migrate

The bin/migrate script can be used to import and update the database of the Engelsystem.

For more information on how to use it call ./bin/migrate help

Documentation

More documentation can be found at: https://engelsystem.de/doc/