Kagunda JM

/ Software Developer /

Generate Dynamic PDF Invoices Using React and React-PDF

Introduction Generation of reports is a core feature in most applications. When developing for the web, one may opt to generate reports using HTML/CSS or PDF. In situations where HTML/CSS reports require emailing to third parties, these reports are exported to various formats one of them being PDF. It is therefore advantageous where the initial report generation is in PDF format as this will not require any exporting. In this post, we step through the process of generating a simple dynamic PDF invoice using React and react-pdf by Diego Muracciole.

Setup a Git Server and Deploy with Git Hooks on Ubuntu 18.04

Introduction In this post we look at the process of setting up a Git repository on a DigitalOcean droplet running UbuntuĀ 18.04. After setting up the repository, we create a server side hook to automatically deploy a successful git push to a web server. A non-root user with no sudo permissions will be used to create the Git repository. The Git user will also be granted read and write permissions on the website for a successful deployment.

Laravel Development Using PostgreSQL and Laradock

In this post, we setup a Laravel development environment using PostgreSQL and Laradock. Laradock uses Docker to easily setup up a development environment for PHP projects. By using Docker, you eliminate the need to install PHP, Composer, Laravel or a database server on your local computer. Requirements Git will be required in order to clone the Laradock repository. You can find out if Git is installed on your computer by running git --version on a terminal/command prompt.

Change name of macOS user account

During initial setup, my full and account names were mispelled. If you are already logged, log out Log in using a administrator account. The account you use to log in must be different from the account you want to change. Choose Go, Go to Folder… from the menu of press Shift-Command-G to open th Go to Folder window. Type /Users and click OK Within the /Users folder, you will see a folder with the name of the account you want to renames.

Sideload Excel Add-In on MacOS Sierra

Introduction In a previous post we looked at the process of generating an Excel add-in and using mkcert to create private certification authority (CA) trusted by browsers. In this post, we continue the journey of developing office add-in by looking at the steps involved in side loading our add-in in an Excel host. Prerequisites The add-in how to guide for iPad and Mac sets out the following prerequisites: A Mac running OS X v10.