front-page icon indicating copy to clipboard operation
front-page copied to clipboard

config.js File is missing

Open leoz opened this issue 11 years ago • 3 comments

Hi @perrygovier !

There is no 'js/config.js' file provided in the repo.

Thanks, Leonid (@leoz2011).

leoz avatar Dec 08 '14 22:12 leoz

Thanks @leoz2011 I'll be creating a gulp task to generate one. For now, here's the format:

if(! window.ionic ) window.ionic = {};
window.ionic.Config = {
  "name": "front-page",
  "app_id": "", // hex string - same as in ionic.project
  "api_write_key": "" // a long hex string - for your ionic service authentication like analytics
};

perrygovier avatar Dec 12 '14 00:12 perrygovier

I'm going to leave this open as a reminder to create the gulp task though

perrygovier avatar Dec 12 '14 00:12 perrygovier

@perrygovier, thanks for the update! The auto-generation of 'js/config.js' would help.

leoz avatar Dec 16 '14 04:12 leoz