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:
parent
6069a95768
commit
413e0f5b7f
1 changed files with 22 additions and 2 deletions
24
README.md
24
README.md
|
@ -31,11 +31,31 @@ AdminFE is bundled with Pleroma, i.e. you can just visit `https://your.instance/
|
||||||
|
|
||||||
### Development
|
### 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
|
### 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
|
#### Disabling features
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue