Commit 64e664d921ee162c4f0796356d995bd68e0deda1

Authored by Geoffrey PREUD'HOMME
1 parent 4e12e643

Mis à jour quelques dépendances

Support nodejs v5.0
Pas de passage à angular 1.4.7 car sinon bug non-identifié que j'ai la
flemme de résoudre.
Showing 3 changed files with 51 additions and 6 deletions   Show diff stats
README.md
... ... @@ -2,3 +2,45 @@
2 2 Version 2015
3 3  
4 4 [![Dependency Status](https://gemnasium.com/ClubInfoPolytechLille/ci-site.svg)](https://gemnasium.com/ClubInfoPolytechLille/ci-site)
  5 +
  6 +##Configuration
  7 +
  8 +```bash
  9 +mkdir config
  10 +cd config
  11 +openssl genrsa -out ci_com.pem 2048
  12 +openssl rsa -in ci_com.pem -pubout > ci_com_pub.pem
  13 +pwgen -1 -N 1 32 > session_secret
  14 +scp polytech:/etc/{passwd,group} .
  15 +```
  16 +
  17 +Fichier par défaut : `config.js`
  18 +```javascript
  19 +module.exports = {
  20 + port: 8173
  21 +};
  22 +```
  23 +
  24 +Fichier par défaut : `db.js`
  25 +```javascript
  26 +module.exports = {
  27 + url: 'mongodb://localhost/ci-site'
  28 +};
  29 +```
  30 +
  31 +Fichier par défaut : `sshAuth.js`
  32 +```javascript
  33 +module.exports = {
  34 + host: '', // Serveur de login. Consulter le TWiki pour plus de détails
  35 + port: 22
  36 +};
  37 +```
  38 +
  39 +##Mise en marche
  40 +
  41 +```bash
  42 +npm install
  43 +npm install -g bower
  44 +bower install
  45 +node server.js
  46 +```
... ...
bower.json
... ... @@ -6,11 +6,14 @@
6 6 "angular-animate": "~1.3.15",
7 7 "angular-ladda": "~0.2.2",
8 8 "angular-route": "~1.3.15",
9   - "animate.css": "~3.2.6",
10   - "bootswatch": "3.3.4+1",
  9 + "animate.css": "~3.4.0",
  10 + "bootswatch": "3.3.5+4",
11 11 "jsencrypt": "~2.1.0",
12   - "remarkable-bootstrap-notify": "~3.0.2",
  12 + "remarkable-bootstrap-notify": "~3.1.3",
13 13 "ng-sortable": "~1.2.0",
14 14 "angular-markdown-directive": "~0.3.1"
  15 + },
  16 + "resolutions": {
  17 + "angular": "~1.3.15"
15 18 }
16 19 }
... ...
package.json
... ... @@ -3,7 +3,7 @@
3 3 "main": "server.js",
4 4 "repository": "https://github.com/ClubInfoPolytechLille/ci-site",
5 5 "dependencies": {
6   - "async": "^0.9.0",
  6 + "async": "^1.5.0",
7 7 "body-parser": "^1.12.3",
8 8 "compression": "^1.4.3",
9 9 "connect-mongo": "^0.8.1",
... ... @@ -11,9 +11,9 @@
11 11 "express": "^4.12.3",
12 12 "express-session": "^1.11.1",
13 13 "mongoose": "^4.0.2",
14   - "node-cache": "^2.1.1",
  14 + "node-cache": "^3.0.0",
15 15 "serve-favicon": "^2.2.0",
16 16 "ssh2": "^0.4.6",
17   - "ursa": "^0.8.4"
  17 + "ursa": "^0.9.1"
18 18 }
19 19 }
... ...