There are a couple of relatively big challenges for a novice programmer in deploying a Web Application. Among these is deploying your application to a production environment. There are many hosting options that offer Cpanel-style hosting which looks to hide the nuts and bolts of the server from a novice user. This kind of hosting [...]
Category: System Deployment
This section gives a step by step guide to deploying your Laravel application to a live production environment
Setting up a VPS using Digital Ocean
Readers who have been working with PHP for any reasonably period of time will, no doubt, have already managed to set up a hosted server in the cloud using one of the many thousands of hosting providers. Many of these offer free hosting if you're happy for your website to have ads. They can be [...]
Setting up a VPS using Vultr
Readers who have been working with PHP for any reasonable period of time will, no doubt, have already managed to set up a hosted server in the cloud using one of the many thousands of hosting providers. Many of these offer free hosting if you're happy for your website to have ads. They can be [...]
Logging in to your Server using Putty
To login to your server you will need a terminal emulator which supports Secure SHell access(ssh). Secure shell access, much like https, allows for an encrypted tunnel of communication between your desktop and the server for the purpose of access the Command Line Interface of your server. The CLI on Unix Operating systems is referred [...]
Securing your VM with SSH key pair authentication
Before you do anything you need to update your VM. A new Ubuntu VM will typically come with just the basics of software installed. In order to secure the VM, we will need to install certain software. Installing software on a Linux cloud-hosted VM is very easy. To do this you typically use one of [...]
Installing Apache and PHP
We are now well on the way to getting our "LAMP" stack working. The Linux Apache MySQL and PHP mix of technologies for hosting websites is the most established and popular approach. The acronym describes the OS, Webserver, Database, and Programming language. This stack is not the only option. There are a multitude of different [...]
Installing MySQL Server and setting up your Database
As we're approaching deploying an application on a Minimum Viable Product basis I'm going to keep the installations to the quickest and simplest install of each version of the product. Once you start becoming comfortable with the LAMP stack it is advised to return and use the secure installation version of the mysq-server install. In [...]
Adding a new user account for your application
Whenever you are deploying an application to a production server it's good practice to create a dedicated account for the application. This gives you a much greater level of control over the security of the application and helps maintain a level of separation between the application and other services and software that may be running [...]
Adding Node and NPM
Before we go any further, now is a good time to add Node and NPM. To ensure success it's a good idea to install identical versions of Node and NPM as are found in your local development environment. If you don't have node installed - go ahead and download the Windows installer and install it. [...]
Automating your Deployment Step 1 - Adding the Laravel Envoy Task Runner
In recent years, organisations have moved to use an approach of Continuous Delivery and Continuous Integration to deploy applications. This whole area of technology and development strategy, sometimes referred to as DevOps, is quite broad. Tech-sector companies have come to utterly rely on it as a plank of their ability to develop and deploy apps [...]