mise en page readme
This commit is contained in:
parent
ef3f35a7aa
commit
dcebcbcae7
70
README.md
70
README.md
@ -15,63 +15,63 @@ INSTALLATION
|
||||
|
||||
ouvrir l'invite de commande 'cmb', puis se deplacer dans un repertoire où vous voulez installer
|
||||
|
||||
taper: git clone https://github.com/TwanoO67/plex-web-downloader.git
|
||||
git clone https://github.com/TwanoO67/plex-web-downloader.git
|
||||
|
||||
taper: cd plex-web-downloader
|
||||
cd plex-web-downloader
|
||||
|
||||
taper: npm install
|
||||
npm install
|
||||
|
||||
modifier le fichier config.js, pour le chemin de database (attention il faut doubler les \ et proteger les espaces )
|
||||
|
||||
exemple: C:\\Users\\yourUsername\\AppData\\Local\\Plex\ Media\ Server\\Plug-in\ Support\\Databases\\com.plexapp.plugins.library.db
|
||||
exemple: C:\\Users\\yourUsername\\AppData\\Local\\Plex\ Media\ Server\\Plug-in\ Support\\Databases\\com.plexapp.plugins.library.db
|
||||
|
||||
taper: npm start
|
||||
npm start
|
||||
|
||||
puis ouvrir http://localhost:3000
|
||||
puis ouvrir dans votre navigateur l'adresse http://localhost:3000
|
||||
|
||||
|
||||
**Sous MacOS**
|
||||
|
||||
pré requis, nodejs
|
||||
|
||||
sinon installer homebrew ( ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" )
|
||||
sinon installer homebrew ( ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ) et :
|
||||
|
||||
puis brew install node
|
||||
brew install node
|
||||
|
||||
git clone https://github.com/TwanoO67/plex-web-downloader.git
|
||||
git clone https://github.com/TwanoO67/plex-web-downloader.git
|
||||
|
||||
cd plex-web-downloader
|
||||
cd plex-web-downloader
|
||||
|
||||
npm install
|
||||
npm install
|
||||
|
||||
modifier le fichier config.js, pour le chemin de database
|
||||
|
||||
exemple: /Users/yourUsername/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
|
||||
exemple: /Users/yourUsername/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
|
||||
|
||||
npm start
|
||||
npm start
|
||||
|
||||
puis ouvrir http://localhost:3000
|
||||
puis ouvrir dans votre navigateur l'adresse http://localhost:3000
|
||||
|
||||
|
||||
**Sous Ubuntu**
|
||||
|
||||
pré requis nodejs, ou apt-get install nodejs
|
||||
|
||||
ln -s /usr/bin/nodejs /usr/local/bin/node
|
||||
ln -s /usr/bin/nodejs /usr/local/bin/node
|
||||
|
||||
git clone https://github.com/TwanoO67/plex-web-downloader.git
|
||||
git clone https://github.com/TwanoO67/plex-web-downloader.git
|
||||
|
||||
cd plex-web-downloader
|
||||
cd plex-web-downloader
|
||||
|
||||
npm install
|
||||
npm install
|
||||
|
||||
modifier le fichier config.js, pour le chemin de database
|
||||
|
||||
exemple: /home/yourUsername/plex-config/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
|
||||
exemple: /home/yourUsername/plex-config/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
|
||||
|
||||
npm start
|
||||
npm start
|
||||
|
||||
puis ouvrir http://localhost:3000
|
||||
puis ouvrir dans votre navigateur l'adresse http://localhost:3000
|
||||
|
||||
|
||||
|
||||
@ -80,39 +80,39 @@ DEVELOPPEMENT
|
||||
|
||||
**le projet a été créée initialement avec**
|
||||
|
||||
node install express -g
|
||||
node install express -g
|
||||
|
||||
node install express-generator -g
|
||||
node install express-generator -g
|
||||
|
||||
express nom_du_projet
|
||||
express nom_du_projet
|
||||
|
||||
cd nom_du_projet
|
||||
cd nom_du_projet
|
||||
|
||||
npm install
|
||||
npm install
|
||||
|
||||
**pour installer plex (depuis un dockerfile)**
|
||||
|
||||
mkdir ~/plex-config
|
||||
mkdir ~/plex-config
|
||||
|
||||
sudo chown 797:797 -R ~/plex-config
|
||||
sudo chown 797:797 -R ~/plex-config
|
||||
|
||||
sudo docker run -d --restart=always -v ~/plex-config:/config -v ~/Movies:/media/plex -p 32400:32400 wernight/plex-media-server
|
||||
sudo docker run -d --restart=always -v ~/plex-config:/config -v ~/Movies:/media/plex -p 32400:32400 wernight/plex-media-server
|
||||
|
||||
sudo chmod 777 ~/plex-config/Plex\ Media\ Server/Plug-in\ Support/Databases/*
|
||||
sudo chmod 777 ~/plex-config/Plex\ Media\ Server/Plug-in\ Support/Databases/*
|
||||
|
||||
sudo chmod 777 ~/Movies
|
||||
sudo chmod 777 ~/Movies
|
||||
|
||||
sudo ln -s ~/Movies /media/plex
|
||||
sudo ln -s ~/Movies /media/plex
|
||||
|
||||
configurer vos chaines sur: http://localhost:32400/web/index.html
|
||||
puis configurer vos chaines sur: http://localhost:32400/web/index.html
|
||||
|
||||
|
||||
COMPILATION
|
||||
--------------------
|
||||
|
||||
npm install enclose -g
|
||||
npm install enclose -g
|
||||
|
||||
enclose -o bin/mac_bin --loglevel info -c enclose_config.js -v 0.12.7 ./bin/www
|
||||
enclose -o bin/mac_bin --loglevel info -c enclose_config.js -v 0.12.7 ./bin/www
|
||||
|
||||
|
||||
TODO Liste
|
||||
|
Loading…
Reference in New Issue
Block a user