From 413e0f5b7f972175fe256f83b83bf727b2795353 Mon Sep 17 00:00:00 2001 From: Ilja Date: Tue, 8 Sep 2020 09:53:05 +0200 Subject: [PATCH] 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. --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84ce067d..b67491c0 100644 --- a/README.md +++ b/README.md @@ -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