1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

cache the right folder

This commit is contained in:
dkanada 2020-03-17 00:32:46 +09:00
parent 89ba9cf5d7
commit 9767ecb474
2 changed files with 10 additions and 3 deletions

View file

@ -42,7 +42,7 @@ jobs:
displayName: 'Cache Dependencies' displayName: 'Cache Dependencies'
inputs: inputs:
key: 'yarn | yarn.lock' key: 'yarn | yarn.lock'
path: '$(Pipeline.Workspace)/.yarn' path: '$(Pipeline.Workspace)/.node_modules'
- script: 'yarn build' - script: 'yarn build'
displayName: 'Build Development' displayName: 'Build Development'

View file

@ -50,25 +50,32 @@ Jellyfin Web is the frontend used for most of the clients available for end user
### Getting Started ### Getting Started
1. Clone or download this repository. 1. Clone or download this repository.
```sh ```sh
git clone https://github.com/jellyfin/jellyfin-web.git git clone https://github.com/jellyfin/jellyfin-web.git
cd jellyfin-web cd jellyfin-web
``` ```
2. Install build dependencies in the project directory. 2. Install build dependencies in the project directory.
```sh ```sh
yarn install yarn install
``` ```
3. Run the web client with webpack for local development. 3. Run the web client with webpack for local development.
```sh ```sh
yarn serve yarn serve
``` ```
4. Build the client with sourcemaps. 4. Build the client with sourcemaps.
'''sh '''sh
yarn yarn
''' '''
Or without sourcemaps
You can build a nginx compatible version as well.
'''sh '''sh
yarn --production yarn --standalone
''' '''