Added Yarn install

This commit is contained in:
Igor Scheller 2018-05-03 18:06:54 +02:00
parent ba4ab7dbc1
commit fb1e604363
1 changed files with 2 additions and 3 deletions

View File

@ -18,7 +18,7 @@ To report bugs use [engelsystem/issues](https://github.com/engelsystem/engelsyst
### Directions: ### Directions:
* Clone the master branch: `git clone https://github.com/engelsystem/engelsystem.git` * Clone the master branch: `git clone https://github.com/engelsystem/engelsystem.git`
* Install [Composer](https://getcomposer.org/download/) * Install [Composer](https://getcomposer.org/download/) and [Yarn](https://yarnpkg.com/en/docs/install)
* Install project dependencies: * Install project dependencies:
```bash ```bash
composer install composer install
@ -28,14 +28,13 @@ To report bugs use [engelsystem/issues](https://github.com/engelsystem/engelsyst
```bash ```bash
composer install --no-dev composer install --no-dev
composer dump-autoload --optimize composer dump-autoload --optimize
``` ```
to install the engelsystem to install the engelsystem
* Build the frontend assets * Build the frontend assets
```bash ```bash
yarn build yarn build
``` ```
* The webserver must have write access to the ```import``` directory and read access for all other directories * The webserver must have write access to the ```import``` directory and read access for all other directories
* The webserver must point to the ```public``` directory. * The webserver must point to the ```public``` directory.
* The webserver must read the ```.htaccess``` file and ```mod_rewrite``` must be enabled * The webserver must read the ```.htaccess``` file and ```mod_rewrite``` must be enabled