koopjs / koop-socrata

Socrata provider for Koop.
Other
8 stars 7 forks source link

Adding Socrata token #64

Closed shortycake closed 8 years ago

shortycake commented 8 years ago

In the documentation it says,

"2. Edit the default.json in your koop-app config to add

{
  "socrata": {
    "token": "your-app-token"
  }
}
```"

is this just appended to the default.json file? what exactly is the formatting? I get errors if I try to add this anywhere in default.js when I do npm start, but jslint says the formatting is valid. 

current code is as such with me trying to add in token: 

`{
  "server": {
    "port": 1337
  },
  "socrata": {
    "token": "my_token"
  },
  "data_dir": "/usr/local/koop/",
  "db": {
    "conn": "connection"
  }
}`