Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing environment - needs to be more automatic #9

Open
rbracket opened this issue Aug 20, 2013 · 7 comments
Open

Testing environment - needs to be more automatic #9

rbracket opened this issue Aug 20, 2013 · 7 comments

Comments

@rbracket
Copy link
Member

This will be a running list of things that slow me down whilst setting up a Lloyd District Test.

  • Bing Keys refer to a web page-this expects an update. ( http://www.bingmapsportal.com/ )
  • In mobile-base.js, add a variable for the cartodb table URL which is used in the intersection page.
  • In mobile-jq.js add the cartodb key to the database update statement JQuery save. Ideally this is a variable.
  • copy and clear the cartodb data, now a manual process. Could be automated
@techieshark
Copy link
Member

In mobile-base.js, add a variable for the cartodb table URL which is used in the intersection page.

I'm not sure I follow what this means.

@rbracket
Copy link
Member Author

this Function in the javascript , "function initAreaMap() {. . ." references scottparker on cartodb. For testing, I use a cartodb table owned by me, (bracket). I want to update a few testing-environment variables when I test and not scan and update many lines of code for all references to scottparker's keys and urls

@techieshark
Copy link
Member

Got it. Thanks!

@brylie
Copy link
Contributor

brylie commented Jan 20, 2014

What about moving these, and other, common configuration settings into a settings.js file?

@techieshark
Copy link
Member

Seems a good idea!

On Monday, January 20, 2014, Brylie Oxley [email protected] wrote:

What about moving these, and other, common configuration settings into a
settings.js file?


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-32795981
.

✍ p. — @techieshark http://bit.ly/xDul1q

@brylie
Copy link
Contributor

brylie commented Jan 24, 2014

I am trying to figure out a good strategy for this. Would it be to just include the settings.js file in the footer of the index.html, and populate it with a settings object containing attributes such as the bing key?

@brylie
Copy link
Contributor

brylie commented Jan 24, 2014

I reorganized the file/folder structure and added a settings.js file. There is a settings object in the settings.js file that currently contains the API keys.

See issue #12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants