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 […]
Category: nodejs
This is first part we will be “dockerizing” a simple node application and pushing the image to docker hub. App structure will be simple and look like this. We will run a simple node server. Dockerfile will have the following instructions to build our image. Now to build our image using the instructions in our […]
I run most of my node apps on a droplet with DigitalOcean. Recently there was an issue and the droplet had to be restarted by them, but my app didn’t restart. This was a big issue for me and my client. I use Forever to run the app, but this only works if the app […]