Go to file
dependabot[bot] 9d8eb4e6ce
Bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-03 08:30:04 +00:00
bin migration: Order by migrated and append not migrated 2019-07-21 20:54:17 +02:00
config Header: Add external links 2019-12-28 21:46:52 +01:00
db Message: Add coverage, fix method hints 2019-12-30 01:53:20 +01:00
docker Added Schedule parsing and replaced old Fahrplan importer 2019-12-08 02:20:48 +01:00
includes fixes #693: never select a default date before first existing shift in shifts view 2020-04-03 10:28:55 +02:00
public Moved emojis to assets 2018-09-10 22:49:46 +02:00
resources Fixed german translation 2020-03-01 17:01:41 +01:00
src Metrics: Fixed message count 2019-12-30 21:12:22 +01:00
storage storage/: .gitignore fixups 2019-10-06 17:11:06 +02:00
tests Metrics: Added controller feature test 2020-01-02 15:09:08 +01: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
.editorconfig adding editorconfig to enforce PSR-2 2019-10-19 19:36:58 +02:00
.gitignore Adds a docker dev setup 2019-10-27 08:57:56 +01:00
.gitlab-ci.yml Use pcov to speed up tests with code coverage 2019-11-30 23:44:07 +01:00
.phpcs.xml Add phpcs config file 2019-11-13 01:07:02 +01:00
CONTRIBUTING.md Update docs 2020-01-20 02:23:16 +01:00
DEVELOPMENT.md Update docs 2020-01-20 02:23:16 +01:00
LICENSE directory renames and cleanup 2011-06-11 18:08:56 +02:00
README.md Update docs 2020-01-20 02:23:16 +01:00
composer.json Added Schedule parsing and replaced old Fahrplan importer 2019-12-08 02:20:48 +01:00
package.json Update JavaScript Dependencies to resolve security issue with serialize-javascript 2019-12-08 12:07:50 +01:00
phpunit.xml Merge branch 'noc0lour:fix_setup_bugs', closes #335 2017-10-31 13:41:17 +01:00
webpack.config.js add 36c3 theme 2019-11-23 18:39:09 +01:00
yarn.lock Bump acorn from 6.4.0 to 6.4.1 2020-04-03 08:30:04 +00:00

README.md

pipeline status coverage report Codacy Badge 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.2
    • 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 a be MySQL database created 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 remove values from the footer_items, available_themes, locales, tshirt_sizes or headers lists the config file has to be renamed.
  • To import the database the bin/migrate script has to be called. If you are not allowed to execute scripts, then execute the install-<version>.sql script. Download at Releases page.

  • 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

To build the es_nginx and the es_php_fpm containers:

cd docker
docker-compose build

or to build the containers separately

docker build -f docker/nginx/Dockerfile . -t es_nginx
docker build -f docker/Dockerfile . -t es_php_fpm

Import database

docker exec -it engelsystem_es_php_fpm_1 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