5f7fcb9018
Signed-off-by: Michael Weimann <mail@michael-weimann.eu> migrate buttons and badges Signed-off-by: Michael Weimann <mail@michael-weimann.eu> upgrade bootstrap, fix devtool remove postcss-preset-env remove npm-run-all add theme info to design add theme configs for 2-15 make all themes compile fix node env in script refactor theme config make all themes basically working fix sass 3rd party warnings replace slash div by math.div |
3 years ago | |
---|---|---|
bin | 5 years ago | |
config | 3 years ago | |
db | 4 years ago | |
docker | 4 years ago | |
includes | 3 years ago | |
public | 6 years ago | |
resources | 3 years ago | |
src | 3 years ago | |
storage | 5 years ago | |
tests | 3 years ago | |
.babelrc | 5 years ago | |
.browserslistrc | 5 years ago | |
.dockerignore | 4 years ago | |
.editorconfig | 5 years ago | |
.gitignore | 4 years ago | |
.gitlab-ci.yml | 4 years ago | |
.phpcs.xml | 5 years ago | |
CONTRIBUTING.md | 4 years ago | |
DEVELOPMENT.md | 4 years ago | |
LICENSE | 14 years ago | |
README.md | 3 years ago | |
composer.json | 4 years ago | |
composer.lock | 4 years ago | |
deployment.tpl.yaml | 4 years ago | |
package.json | 3 years ago | |
phpunit.xml | 4 years ago | |
webpack.config.js | 3 years ago | |
yarn.lock | 3 years ago |
README.md
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.3
- Required modules:
- dom
- json
- mbstring
- PDO
- mysql
- tokenizer
- xml/libxml/SimpleXML
- xmlwriter
- Required modules:
- 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 andmod_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 fromconfig/config.default.php
.- To remove values from the
footer_items
,themes
,locales
,tshirt_sizes
orheaders
lists the config file has to be renamed.
- To remove values from the
-
To import the database, the
bin/migrate
script has to be run. If you can't execute scripts, you can use theinitial-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_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
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_php_fpm 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