modif du readme

This commit is contained in:
WEBER Antoine 2015-09-14 20:36:03 +02:00
parent e439144236
commit f792f289ce
3 changed files with 16 additions and 46 deletions

11
#README
View File

@ -1,11 +0,0 @@
//créée initialement avec
node install express -g
node install express-generator -g
express nom_du_projet
cd nom_du_projet
npm install
//pour reprendre le projet depuis git
npm install
npm start
ouvrir localhost:3000

16
README Normal file
View File

@ -0,0 +1,16 @@
//créée initialement avec
node install express -g
node install express-generator -g
express nom_du_projet
cd nom_du_projet
npm install
//pour reprendre le projet depuis git
npm install
npm start
ouvrir localhost:3000
//pour installer plex (depuis un dockerfile)
mkdir ~/plex-config
sudo chown 797:797 -R ~/plex-config
sudo docker run -d --restart=always -v ~/plex-config:/config -v ~/Movies:/media -p 32400:32400 wernight/plex-media-server

View File

@ -1,35 +0,0 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@2.11.3
3 info using node@v0.12.7
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart plex_webdown@0.0.0
6 info start plex_webdown@0.0.0
7 verbose unsafe-perm in lifecycle true
8 info plex_webdown@0.0.0 Failed to exec start script
9 verbose stack Error: plex_webdown@0.0.0 start: `node ./bin/www`
9 verbose stack Exit status 1
9 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)
9 verbose stack at EventEmitter.emit (events.js:110:17)
9 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at ChildProcess.emit (events.js:110:17)
9 verbose stack at maybeClose (child_process.js:1015:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid plex_webdown@0.0.0
11 verbose cwd /Users/aweber/Desktop/#PERSO/#GIT/plex_webdown
12 error Darwin 14.4.0
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
14 error node v0.12.7
15 error npm v2.11.3
16 error code ELIFECYCLE
17 error plex_webdown@0.0.0 start: `node ./bin/www`
17 error Exit status 1
18 error Failed at the plex_webdown@0.0.0 start script 'node ./bin/www'.
18 error This is most likely a problem with the plex_webdown package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node ./bin/www
18 error You can get their info via:
18 error npm owner ls plex_webdown
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]