From 3b92e8631a248ceab424fbded1d819279144c2da Mon Sep 17 00:00:00 2001 From: Craig Fisk Date: Wed, 3 Jun 2015 18:52:15 -0700 Subject: [PATCH 1/4] Forked github.com/firebase/angularfire-seed, made that original source the git upstream for the project, did npm install and added the resulting app/bower_components/ and node_modules/ directories to .gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4c406ce2..9906e33d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ ################# ## Eclipse ################# +app/bower_components/ +node_modules/ *.pydevproject .project @@ -217,4 +219,4 @@ pip-log.txt #Test result ignore test_out/unit.xml -test_out/e2e.xml \ No newline at end of file +test_out/e2e.xml From 68132cd9bb5d93442cb23f9803398dfb90f8fc10 Mon Sep 17 00:00:00 2001 From: Craig Fisk Date: Wed, 3 Jun 2015 19:02:18 -0700 Subject: [PATCH 2/4] Changed app/config.js to use https://af-seed-picocosmos.firebaseio.com as FBURL; Changed access to origin to using rsa public key, so now I access it as git clone git@github.com:craigfisk/angularfire-seed.git --- app/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.js b/app/config.js index 731fb370..107b7bdc 100644 --- a/app/config.js +++ b/app/config.js @@ -15,7 +15,7 @@ angular.module('myApp.config', []) // double check that the app has been configured before running it and blowing up space and time .run(['FBURL', '$timeout', function(FBURL, $timeout) { - if( FBURL.match('//INSTANCE.firebaseio.com') ) { + if( FBURL.match('https://af-seed-picocosmos.firebaseio.com') ) { angular.element(document.body).html('

Please configure app/config.js before running!

'); $timeout(function() { angular.element(document.body).removeClass('hide'); From 6d8dccfaa1240360c4ec4a31cbd1add5200c3850 Mon Sep 17 00:00:00 2001 From: Craig Fisk Date: Wed, 3 Jun 2015 19:08:59 -0700 Subject: [PATCH 3/4] Moved app/bower_components and node_modules/ to the head of .gitignore --- .gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9906e33d..8fa90c82 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ -################# -## Eclipse -################# app/bower_components/ node_modules/ +################# +## Eclipse +################# *.pydevproject .project .metadata From 9660c89d11aa8e21bd7ec2b35a0d415fafe051af Mon Sep 17 00:00:00 2001 From: Craig Fisk Date: Wed, 3 Jun 2015 20:28:36 -0700 Subject: [PATCH 4/4] Cannot do npm run protractor but can do protractor e2e-tests/protractor-conf.js; got rid of certificates error message on e2e-test run by adding chromeOptions: {args: [test-type]}, which quotes, to capabilities section of e2e-tests/protractor-conf.js --- e2e-tests/protractor-conf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e-tests/protractor-conf.js b/e2e-tests/protractor-conf.js index b45a117a..4f780304 100644 --- a/e2e-tests/protractor-conf.js +++ b/e2e-tests/protractor-conf.js @@ -6,7 +6,8 @@ exports.config = { ], capabilities: { - 'browserName': 'chrome' + 'browserName': 'chrome', + 'chromeOptions': {'args': ['test-type'] } }, baseUrl: 'http://localhost:8000/app/',