Making AngularJS content search engine/SEO friendly

Posted by & filed under AngularJS, Web Development.

There seems to be a lot of confusion over this, particularly what level of support exists for Javascript content with search bots. It appears that GoogleBot supports some Javascript. Using this NPM module will assist with providing a pre-rendered version of your content for search engine bots. Be sure to test this using the Google… Read more »

Posting to related models in Loopback Explorer

Posted by & filed under LoopbackJS.

I was trying to post to a model in the Loopback Explorer and certain fields referenced IDs from related models, only no matter what format my JSON was in my data was being inserted as an array where each index value corresponded to each letter in the string of text. I discovered that the cause… Read more »

Using Grunt with a Rails project served via RVM

Posted by & filed under Ruby on Rails, Web Development.

Using typical Grunt deployment scripts works fine, except there is a trick to run a bundle update using the Gems installed via a single user RVM install: ‘bundle-update’: { command: “[[ -s \"/home/username/.rvm/scripts/rvm\" ]] && source \”/home/username/.rvm/scripts/rvm\” && cd /path/to/project/ && bundle update” } This runs the RVM shell init commands saved to your shell’s… Read more »