Mercurial > pumpbridge
annotate INSTALL.md @ 8:6fd0a307850f
check empty strings and users
author | Mathias Gebbe <mgebbe@intevation.de> |
---|---|
date | Wed, 11 Jun 2014 21:58:41 +0200 |
parents | a94ac7c3b182 |
children | 58a069d12b0c |
rev | line source |
---|---|
0
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
1 # installation |
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
2 |
1 | 3 ### what you need |
0
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
4 |
1 | 5 * facebook api key: https://developers.facebook.com/ |
6 * googleplus api key and secret: https://console.developers.google.com/ | |
0
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
7 * bridge pump.io user (log in and dont map it to social networks) |
1 | 8 for example: bridge@io.intevation.de (https://io.intevation.de/bridge) |
9 | |
10 ### how to install | |
11 | |
12 ``` | |
13 npm install | |
14 ``` | |
15 | |
0
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
16 * copy app.js and index.js to pump.io-client-app usually with: |
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
17 |
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
18 ``` |
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
19 cp app.js_to_pump.io-client-app_lib node_modules/pump.io-client-app/lib/app.js |
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
20 cp index.js_to_pump.io-client-app_lib_routes node_modules/pump.io-client-app/lib/routes/index.js |
b73191efc65b
Initial import of pumpbridge (bloody bloody alpha)
Mathias Gebbe <mgebbe@intevation.de>
parents:
diff
changeset
|
21 ``` |
6
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
22 |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
23 * configure your Facebook App ID and your Google App ID in |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
24 ``` |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
25 views/index.jade |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
26 appId: 'FACEBOOKID', |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
27 'cookiepolicy': "https://yourserver.org", |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
28 'clientid': 'GOOOGLEPLUSCLIENTID', |
a94ac7c3b182
appId clientid in index.jade, remove logo from index
Mathias Gebbe <mgebbe@intevation.de>
parents:
1
diff
changeset
|
29 ``` |