Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

install commands #12

Closed
CKoaser opened this issue Jan 20, 2015 · 1 comment
Closed

install commands #12

CKoaser opened this issue Jan 20, 2015 · 1 comment

Comments

@CKoaser
Copy link

CKoaser commented Jan 20, 2015

In the install documentation there is probably 1 line missing:

before executing "grunt", bower has to install all the dependencies listet in the brower file. therefore the list should be as follows:

git clone git@github.com:AF83/koalab.git
cd koalab
cp config/server.json.example config/server.json
$EDITOR config/server.json
npm install -g grunt-cli
npm install .
bower install
grunt
node koalab.js
firefox http://localhost:8080/

In our case not executing bower install lead to a reference error by the $ command, as zepto was not available.

One question: could you please provide the version without the mozilla persona authentication, as it works in the demo version on http://koalab.af83.com/ ?

nono added a commit that referenced this issue Jan 20, 2015
@nono
Copy link
Contributor

nono commented Jan 20, 2015

Hi,

thanks for your message.

For bower install, it was supposed to be ran by npm, as a postinstall step (cf https://github.com/AF83/koalab/blob/master/package.json#L38). But seems like it doesn't work. So, I've put it in README.

For the demo version, the code is in the repository. It's just a flag in the config/server.json file:

{
  "authorized": ["*@af83.com"],
  "demo": true,
  "port": 8080,
  "persona": {
    "audience": "http://koalab.af83.com"
  },
  "mongodb": {
    "host": "localhost",
    "database": "koalab_prod"
  }
}

@nono nono closed this as completed Jan 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants