Categories
front-end

Shell Script and Docker

Here is a simple shell script that checks to see if docker is installed. If docker is installed it then filters to see if a container with a certain name is also running and  if it is not it will trigger the run command. #!/bin/sh clear if [ “$(docker –version)” ] then if [ “$(docker ps […]

Categories
journal thoughts

Firebase or Not Firebase

I have been hearing out in the interwebs that firebase is not ideal for most small startup projects or small projects in general. Mainly those with not whole lot of cash to throw around.  In a recent blog post a small startup explains its experience with firebase. I have also read something similar about a year ago. […]

Categories
gruntjs javascript nodejs

Recent deployment issue with Sailsjs and no assets being loaded. 

If you find it that when you deploy your sails app and no assets are being loaded. It’s because grunt is not being run when running sails lift. Here is what I found was causing the problem.  Sails looks for this file .sailsrc when you run the app, it will override settings. In this case […]