Build Docker Container for Node.js and MySQL Based Application

Blog primary image

Docker has given a different perception to application development and their run time environment. Containerization of application is very much essential now a days. Think about you have two different application in production server at same time and those applications are developed in Node.js 8 and Node.js 10 respectively. Now you can imagine how much trouble it could be to manage two different Node.js version.

If you were using Docker, you could simply spin up another container, set the Node.js version to 8.x and put it right next to your other container that has Node.js version 10.x on it, running on the same server with no problems whatsoever. That flexibility, portability and the option to more efficiently use your server resources are what make Docker so compelling to use.

For PHP and MySQL, you may read our blog on Build Docker Container for PHP 7 and MySQL Based Application

 

Read More

How To Install Node.js on Ubuntu 18.04 LTS

Blog primary image

Introduction

Node.js is a run time environment for JavaScript execution at server side. For general-purpose programming Node.js allows users to build web / network applications quickly. By leveraging JavaScript on both the front and backend, Node.js makes development more consistent and integrated.

In this guide, we'll show you how to get started with Node.js on an Ubuntu 18.04 LTS server.

Read More

How to use virtual host in WAMP server in PC

Website development in local computer or PC has lots many configuration. Developers who are using WAMP (Apache, MySQL and PHP bundle for windows) server can develop the website by putting the project files into the WAMP installation folder which is most of the time:

c:\wamp\www\folder_name\

and you need to access your test site as:

http://localhost/folder_name

where the folder name is your project folder name where index.php file exists. As a developer you must have thought of accessing your site as a general URL and also keeping your project folder and files outside the WAMP directory. To accomplish this you need to setup the virtual host into the WAMP server and this blog describe details steps involved to accomplish the goal.

Setting up virtual host in WAMP server involves the below steps:

Read More

Configure Sendmail for WAMP and connect with Gmail in development

Have you installed WAMP into your PC for developing a website and looking for how to send email with it for testing your email feature is working or not? Continue reading this blog.

Unlike XAMP, WAMP does not come integrated with sendmail feature and thus you need to do something extra when you want to test your development waork in your local machiine. To configure WAMP for sending email you need to follow the below steps (assuming WAMP is already installed and working okay):

  1. Download the Fake Sendmail for Windows.
  2. Use Gmail or any other email account to configure the sendmail.
  3. Change te Gmail setting to allow third party email sending feature.
  4. Update the PHP.ini configuration for your website or WAMP server.

Here is the detail elaboration of the steps involved.

Read More