cache the right folder
This commit is contained in:
parent
89ba9cf5d7
commit
9767ecb474
2 changed files with 10 additions and 3 deletions
|
@ -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'
|
||||||
|
|
11
README.md
11
README.md
|
@ -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
|
||||||
'''
|
'''
|
Loading…
Add table
Add a link
Reference in a new issue