Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 956 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 956 Bytes

Préparation

Environnement

Node.JS

Install in from the package manager of your distribution

sudo apt-get install nodejs

You can also either download the last binaries from the official website or install it from the sources

(http://nodejs.org/download/)[http://nodejs.org/download/]

Installation des dépendances

npm install

Déploiement

Production (heroku)

  • NODE_ENV ← "production"
  • CLIENT_ID et CLIENT_secret ← client id/secret de http://iiens.eu

Dévelopement

Par défaut les URL utilisés sont http://ares-web.dev pour le fournisseur d'OAuth et http://oauth-demo.dev pour l'application. Cela suppose que vous avez un serveur web qui pointe vers ces domaines. Sinon vous pouvez définir :

  • IIENS_URL

  • IIENS_API_URL

  • OAUTH_DEMO_URL

  • CLIENT_ID et CLIENT_SECRET doivent être définis

  node app.coffee