|
|
|
@ -11,9 +11,9 @@ Please also read the [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
|
|
|
## Local build
|
|
|
|
|
The following instructions explain how to get, build and run the latest Engelsystem version directly from the git master branch (may be unstable!).
|
|
|
|
|
|
|
|
|
|
* Clone the master branch: `git clone https://github.com/engelsystem/engelsystem.git`
|
|
|
|
|
* Install [Composer](https://getcomposer.org/download/) and [Yarn](https://yarnpkg.com/en/docs/install) (which requires [Node.js](https://nodejs.org/en/download/package-manager/))
|
|
|
|
|
* Install project dependencies:
|
|
|
|
|
* Clone the master branch: `git clone https://github.com/engelsystem/engelsystem.git`
|
|
|
|
|
* Install [Composer](https://getcomposer.org/download/) and [Yarn](https://yarnpkg.com/en/docs/install) (which requires [Node.js](https://nodejs.org/en/download/package-manager/))
|
|
|
|
|
* Install project dependencies:
|
|
|
|
|
```bash
|
|
|
|
|
composer install
|
|
|
|
|
yarn
|
|
|
|
@ -24,12 +24,12 @@ The following instructions explain how to get, build and run the latest Engelsys
|
|
|
|
|
composer dump-autoload --optimize
|
|
|
|
|
```
|
|
|
|
|
to install the Engelsystem
|
|
|
|
|
* Build the frontend assets
|
|
|
|
|
```bash
|
|
|
|
|
yarn build
|
|
|
|
|
```
|
|
|
|
|
* Optionally (for better performance)
|
|
|
|
|
* Generate translation files
|
|
|
|
|
* Build the frontend assets
|
|
|
|
|
```bash
|
|
|
|
|
yarn build
|
|
|
|
|
```
|
|
|
|
|
* Optionally (for better performance)
|
|
|
|
|
* Generate translation files
|
|
|
|
|
```bash
|
|
|
|
|
find resources/lang/ -type f -name '*.po' -exec sh -c 'file="{}"; msgfmt "${file%.*}.po" -o "${file%.*}.mo"' \;
|
|
|
|
|
```
|
|
|
|
|