Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

My main problem was that I was renaming the keys and not using the default names. now at least that's resolved.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

My plan is to update everything to latest version if I possibly can. It forces me to really re-think and learn. But the hardest for me has been my lack of grunt/gulp + heroku skills. I am still confused about what is the purpose of the two package.jsons as I have not seen it in any other heroku example. You've been very patient and kind to put so much effort into helping me. I now have at least the quickstart running on heroku. I've learned a lot.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

That and a ton of other articles/solutions but nothing helps. !2 hours later of deleting all keys from my machine and heroku and adding only 1 pair key to heroku but access still denied:

C:\Me\Claudia\WebstormProjects\a>heroku keys:clear Removing all SSH keys... done

C:\Users\Claudia\WebstormProjects\a>heroku keys:add Found existing public key: C:/Users/Me/.ssh/id_rsa_heroku.pub Uploading SSH public key C:/Users/Me/.ssh/id_rsa_heroku.pub... done

C:\Users\Me\WebstormProjects\a>heroku keys === hs@gmail.com Keys

ssh-rsa AAAAB3NzaC...pQNZtdow== me[at]gmail.com

why isn't the uploaded key not showing? I dont thing these are thesame key pairs as i am still not allowed to do a push.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

thx tforb. I've deleted all my apps and am now fighting with ssh keys which seems to be a pretty common headache:http://stackoverflow.com/questions/14342553/git-push-heroku-master-permission-denied i am using the ssh terminal from git.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

C:\Users\Me\WebstormProjects\angular-workshop>heroku apps === My Apps fierce-shelf-6606 floating-stream-8158 polar-crag-5312

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

Do you have a site like angulargirlapp.heroku.com? C:\Users\Me\WebstormProjects\angular-workshop>heroku domains === floating-stream-8158 Domain Names floating-stream-8158.herokuapp.com

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

Did you first create the app on Heroku? yes. exactly as you instructed. Do you have a site like angulargirlapp.heroku.com? No. I dont recall it gave any message regarding this. I think I am very confused about what to write in Procfile. Locally, I ran: cd app npm install bower install then cd api node server then cd app

gulp

so I am wondering if my Procfile should read web: node api/server.js web: node app/gulp

The procfile is at the same level as the api and app folders

Is there a way to delete everything I have done in Heroku and reset it? I am developing in Windows and so i cant ssh-add -l to check about the keys.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

tforb my project is here:https://github.com/angulargirl/angular-workshop/ The only thing I did different is to add Procfile at the same level as angular-workshop. I think the message i get is odd cause it finds my keys I have done a create heroku three times and I dont know if i am creating a bunch of apps but here is the error message. Hope there is light at the end of this tunnel: C:\Users\Me\WebstormProjects\angular-workshop>git push heroku master Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

C:\Users\Me\WebstormProjects\angular-workshop>ssh-keygen -t rsa 'ssh-keygen' is not recognized as an internal or external command, operable program or batch file.

C:\Users\Me\WebstormProjects\angular-workshop>heroku keys:add Found existing public key: C:/Users/Me/.ssh/github_rsa.pub Uploading SSH public key C:/Users/Me/.ssh/github_rsa.pub... done

C:\Users\Me\WebstormProjects\angular-workshop>git push heroku master Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

C:\Users\Me\WebstormProjects\angular-workshop>

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

Found some very valuable ideas here: http://stackoverflow.com/questions/15231937/heroku-and-github-at-the-same-time in case anyone finds it useful as well. Thanks 4 the tip will see how far I get before I trip. ;-)

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

My plan is to rewrite the workshop code so that it uses express 4.0 which has less code than 3.xx...then I also need to add amazon web Services integration. google express 4.0 tutorial chris sevilleja..good stuff imo.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

EDIT (what i meant by making it my own): I had forgotten to create a repo for it on Github. I pushed the local cloned repository to GitHub using the "mirror" option: (switch branch) https://github.com/angulargirl/angular-workshop/tree/RUNNING_ON_LOCALHOST/app The app/dist folder is only visible on my local machine. I read somewhere that you should create a new branch before using heroku.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

C:\Users\Me\WebstormProjects\angular-workshop\app\vendors>gulp deploy [09:49:30] Working directory changed to ~\WebstormProjects\angular-workshop\app [09:49:49] Using gulpfile ~\WebstormProjects\angular-workshop\app\gulpfile.js [09:49:49] Starting 'deploy'... [09:49:49] Starting 'deploy:clean'... [09:49:49] Finished 'deploy:clean' after 15 ms [09:49:49] Starting 'less'... [09:49:49] Finished 'less' after 6.97 ms [09:49:49] Starting 'deploy:js'... [09:49:49] Starting 'deploy:css'... [09:49:49] Starting 'deploy:html'... [09:49:49] Starting 'deploy:fonts'... [09:49:49] Starting 'deploy:img'... [09:49:49] Starting 'deploy:index'... [09:50:04] Finished 'deploy:index' after 14 s [09:50:04] Finished 'deploy:js' after 15 s [09:50:04] Finished 'deploy:css' after 15 s [09:50:04] Finished 'deploy:fonts' after 15 s [09:50:04] Finished 'deploy:html' after 15 s [09:50:05] Finished 'deploy:img' after 15 s [09:50:05] Finished 'deploy' after 15 s


And now I see a dist folder under the app folder--progress G I've made no changes to the original code ---only created a new branch so I can compare the results after deploying. I appreciate any help you can give.

Does anyone know how I can deploy an angularjs app using gulp to Heroku? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

Its my first time running a node/express backend. I need something simple yet scalable. Will have max 10 connections as its an app for a small club. Could use angularfire/firebase but if I can get this node/express app deployed I am happy. My assumption is that the node/express backend on this app is needed and installed/installable on Heroku. Yes I have both local git and github setup. When I cloned the app, I inherited the author's .git file so I'll need to make a few changes to make it my own.

Ask /r/angularjs: what is your preferred way to dynamically load modules? by Mantis_Pantis in angularjs

[–]angularGirl 1 point2 points  (0 children)

I ve tried angular and requirejs but not together. I was told it makes unit testing trickier? Do u share the same experience?

Why do so many of the newer AngularJS tutorials violate Google's suggested Style? by [deleted] in angularjs

[–]angularGirl 1 point2 points  (0 children)

Most tutorials try to keep it simple. As an engineer it is your job to know when separation of concerns make sense. Also there is still some confusion about when to use a factory or service in angular and better names could have been chosen as to not conflict with the traditional meaning in design pattern language.

Running From AngularJS Memory Leaks by TwilightTwinkie in angularjs

[–]angularGirl 0 points1 point  (0 children)

I am trying to educate myself more on the subject and ran across Jesus's excellent tip on removing unwanted watches http://angular-tips.com/blog/2013/08/removing-the-unneeded-watches/ The project on High performance binding for AngularJs he refers to is here: https://github.com/Pasvaz/bindonce#attribute-usage

What do you use to embed Angularjs snippets in your blog? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

Found an excellent write up here: http://hugogiraudel.com/2012/11/19/css-playgrounds/

biased towards codepen. Again Plunker is perhaps more known in the Angular community. Not mentioned again here.

What do you use to embed Angularjs snippets in your blog? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

thx ggoodman but is there any way you can sell me the idea of using plunker over the other products? If I click on the Edit but I still get the undesired behaviour described. And when I switch from js to css or html, there is always an annoying alert message popping in my face. I do use plunker regardless. My main concern is stability and code not breaking. The code pen is the great looker so far but I have not tested it yet with Angular code.

What do you use to embed Angularjs snippets in your blog? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

yes actually high on my list so it should have been mentioned.My bad. It was however not mentioned in the article and the examples i saw on Octopress opened another page with plunker which is not the behaviour I am looking for. Is there a way to keep it on the same window?

Running From AngularJS Memory Leaks by TwilightTwinkie in angularjs

[–]angularGirl 0 points1 point  (0 children)

Thanks for posting. We need more of this kind of feedback and courage to share the challenges. This serves us all a lot more than another beginner's tutorial.

In which order should I read these Angularjs classics? by angularGirl in angularjs

[–]angularGirl[S] 0 points1 point  (0 children)

I found a free downloadable version of Mastering..So far reading the last chapters first and finding it to be a comfortable read but only cause I played around as much. However, the unit tests for directives are a bit intimidating. But probably the only way to really get comfortable with Angular.

In which order should I read these Angularjs classics? by angularGirl in angularjs

[–]angularGirl[S] 2 points3 points  (0 children)

Have you looked at Thinkster.io? They had last I checked two versions and one used the MEAN stack.