Use yarn instead of npm install

This commit is contained in:
Chocobozzz 2017-04-26 22:45:27 +02:00
parent ea893004aa
commit 85cd99dc84
5 changed files with 9286 additions and 4 deletions

View File

@ -19,8 +19,6 @@ sudo: false
services:
- postgresql
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
before_script:
- npm run build
- wget --no-check-certificate "https://download.cpy.re/ffmpeg/ffmpeg-release-3.0.2-64bit-static.tar.xz"

View File

@ -123,6 +123,7 @@ See [wiki](https://github.com/Chocobozzz/PeerTube/wiki) for complete installatio
* **NodeJS >= 6.x**
* **npm >= 3.x**
* yarn
* OpenSSL (cli)
* PostgreSQL
* FFmpeg
@ -130,6 +131,7 @@ See [wiki](https://github.com/Chocobozzz/PeerTube/wiki) for complete installatio
#### Debian
* Install NodeJS 6.x (actual LTS): [https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
* Install yarn: [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
* Add jessie backports to your *source.list*: http://backports.debian.org/Instructions/
* Run:
@ -143,7 +145,7 @@ See [wiki](https://github.com/Chocobozzz/PeerTube/wiki) for complete installatio
$ git clone -b master https://github.com/Chocobozzz/PeerTube
$ cd PeerTube
$ npm install # Or npm install --unsafe-perm for root user
$ yarn install
$ npm run build
## Usage

5932
client/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@ -36,7 +36,7 @@
"update-host": "scripty",
"test": "scripty",
"help": "scripty",
"postinstall": "cd client && npm install"
"postinstall": "cd client && yarn install"
},
"dependencies": {
"async": "^2.0.0",

3350
yarn.lock Normal file

File diff suppressed because it is too large Load Diff