Similar Posts
Running Node.js App with Supervisord on Homestead
Earlier I covered how to continuously run Node.js app with Forever. In this article I will explain how to run Node.js app with Supervisord. Since Homestead already has Supervisord installed, we will use it. First, let’s create a simple node application. Edit after.sh script in Homestead installation to contain the following code: #!/bin/sh cd /var/www…
Disable .htaccess on Apache
It is possible to disable .htaccess files while using mod_rewrite in virtual host’s configuration file. <Directory /home/vagrant/blog/public> Options FollowSymLinks AllowOverride None Require all granted <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> </Directory> <Directory /home/vagrant/blog/public> Options FollowSymLinks AllowOverride None Require all granted…
Ubuntu Command Line Search
Sometimes I have to go through log files searching for a certain error message. The command below will show you log file names and lines where the message was recorded. grep -rnw ‘logs/’ -e ‘Hello World’grep -rnw ‘logs/’ -e ‘Hello World’ To learn more about “grep” command use the following link https://help.ubuntu.com/community/grep Share this article
Laravel Jenkins CI
This article covers installation of Jenkins on Ubuntu server and its usage to continuously integrate a Laravel application. Besides LAMP/LEMP stack we need to install Java, Git, Composer, and Node to successfully use Jenkins. Before starting to install this software, let’s take care of miscellaneous stuff. Miscellaneous (can skip this). Create mysql user and database….
Automated Deployment of Laravel Project
In this article I would like to share my approach to automated deployment of a Laravel project. I have been successfully using this approach for my side projects. In this article I will share Laravel project deployment on Linux (Digital Ocean) server. In a nutshell deploying Laravel project consists of “building” it (installing composer dependencies,…
Install Ruby on MacOS
MacOS comes with already pre-installed system Ruby. However this Ruby, most likely, will be outdated for Shopify development. You don’t want to mess with the pre-installed system Ruby. What you want to do is to install another Ruby using Homebrew and set the $PATH so the Homebrew-installed Ruby takes priority over the macOS system Ruby. https://mac.install.guide/ruby/13 Share…