Add installing dependencies to readme

* For both development (running locally) and building we also need to install the dependencies. I added how I did it.
This commit is contained in:
Ilja 2020-09-08 09:53:05 +02:00 committed by Angelina Filippova
parent 6069a95768
commit 413e0f5b7f

View file

@ -31,11 +31,31 @@ AdminFE is bundled with Pleroma, i.e. you can just visit `https://your.instance/
### Development
To run AdminFE locally execute `yarn dev`
To run AdminFE locally execute
```
# install dependencies
npm install -g yarn
yarn
# run AdminFE locally
yarn dev
```
### Build
To compile everything for production run `yarn build:prod`, this will build admin-fe into `dist` folder, which you will need to upload to your server and/or point your webserver of choice to.
To compile everything for production run
```
# install dependencies
npm install -g yarn
yarn
# compile everything for production
yarn build:prod
```
This will build admin-fe into `dist` folder, which you will need to upload to your server and/or point your webserver of choice to.
#### Disabling features