From 9767ecb47440e31257c0ad1ee2012e9d240035ad Mon Sep 17 00:00:00 2001 From: dkanada Date: Tue, 17 Mar 2020 00:32:46 +0900 Subject: [PATCH] cache the right folder --- .ci/azure-pipelines.yml | 2 +- README.md | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index b606ac4106..c14717136a 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -42,7 +42,7 @@ jobs: displayName: 'Cache Dependencies' inputs: key: 'yarn | yarn.lock' - path: '$(Pipeline.Workspace)/.yarn' + path: '$(Pipeline.Workspace)/.node_modules' - script: 'yarn build' displayName: 'Build Development' diff --git a/README.md b/README.md index 4ee78ed786..6ad4bfcbb5 100644 --- a/README.md +++ b/README.md @@ -50,25 +50,32 @@ Jellyfin Web is the frontend used for most of the clients available for end user ### Getting Started 1. Clone or download this repository. + ```sh git clone https://github.com/jellyfin/jellyfin-web.git cd jellyfin-web ``` + 2. Install build dependencies in the project directory. + ```sh yarn install ``` 3. Run the web client with webpack for local development. + ```sh yarn serve ``` 4. Build the client with sourcemaps. + '''sh yarn ''' - Or without sourcemaps + + You can build a nginx compatible version as well. + '''sh - yarn --production + yarn --standalone ''' \ No newline at end of file