Go to file
Igor Scheller 7ce2cca052 Update composer packages 2023-10-15 18:13:43 +02:00
bin Convert class const's to enum's (#1050) 2023-01-24 19:23:57 +01:00
config Implement new sign up page 2023-09-24 22:50:44 +02:00
db add hide angeltype in shift view option for angeltypes (#1195) 2023-09-27 20:25:10 +02:00
docker Update node to v20 (#1075) 2023-04-21 15:10:26 +02:00
includes Profile settings page: Add "back to my shifts" menu item and icons 2023-10-15 18:10:12 +02:00
public Set strict types everywhere (except includes) 2023-02-03 20:55:58 +01:00
resources Profile settings page: Add "back to my shifts" menu item and icons 2023-10-15 18:10:12 +02:00
src Profile settings page: Add "back to my shifts" menu item and icons 2023-10-15 18:10:12 +02:00
storage storage/: .gitignore fixups 2019-10-06 17:11:06 +02:00
tests Update composer packages 2023-10-15 18:13:43 +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 Add prettier 2022-12-23 02:20:43 +01:00
.eslintignore Add eslint 2022-11-27 16:31:32 +01:00
.eslintrc.json Remove function-paren-newline from ESLint, covered by prettier 2022-12-23 19:21:02 +01:00
.gitignore Add public/fahrplan.xml to .gitignore 2023-01-31 15:20:09 +01:00
.gitlab-ci.yml CI: Added build cache 2023-04-19 20:11:38 +02:00
.phpcs.xml Require comma at last array element and no single line space 2023-02-09 18:19:38 +01:00
.prettierrc.json Add prettier 2022-12-23 02:20:43 +01:00
CONTRIBUTING.md Updated contributing guidelines: Clarified includes 2023-03-31 14:30:51 +02:00
DEVELOPMENT.md fix tests after ifsg implementation 2023-08-12 12:19:24 +02:00
LICENSE directory renames and cleanup 2011-06-11 18:08:56 +02:00
README.md Allow admins to remove entries from some config arrays (#1155) 2023-09-24 21:42:44 +02:00
SECURITY.md Update SECURITY.md 2023-10-13 10:16:17 +02:00
composer.json Update composer packages 2023-10-15 18:13:43 +02:00
composer.lock Update composer packages 2023-10-15 18:13:43 +02:00
deployment.tpl.yaml k8s: Use traefik as default ingress, added improved app url handling to support subpath deployments 2022-10-14 13:36:11 +02:00
package.json Bump postcss from 8.4.21 to 8.4.31 2023-10-08 12:48:02 +02:00
phpstan.neon.dist Bump minimum PHP version to 8.1 and update packages 2022-12-13 22:03:08 +01: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 improve webpack.config.js 2023-02-15 17:51:15 +01:00
yarn.lock Bump postcss from 8.4.21 to 8.4.31 2023-10-08 12:48:02 +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 >= 8.1
    • 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 disable/remove values from the themes, tshirt_sizes, headers, header_items, footer_items, or locales lists, set the value of the entry to null.
  • 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/