Enable & Write Cron Jobs for Strapi
Cron jobs can be used to schedule time-based commands without human intervention. With Strapi, we can use cron jobs to import data or run application tasks automatically. In this tutorial I will show you how you can enable and write cron jobs for Strapi....
5 months ago
Install Deno on macOS
9 months ago
10 Ways to Manage Environment Variables with Dokku Config Commands
Most applications requires some sort configuration to function and run securely. This can be anything from API keys, secret keys or other settings. The industry standard is to use a .env file with environment variables to handle these settings securely. We do not want to have these keys visible to praying eyes in our Git repository or else where sensitive information could be exposed. Dokku has mu...
How to Install & Setup Redis for Dokku
Redis is a free and open-source in-memory data store which can be used as cache or in same cases even a database. Redis is super simple to install if you manage your applications with your own Dokku PaaS (Platform as a Service). In todays tutorial I will show you how we can install and setup Redis for Dokku....
Setup SSL Certificates & Serve your Applications over HTTPS for Free with Dokku & Let's Encrypt
In this tutorial we are going to take a look at how we can setup free SSL certificates for our Dokku powered applications with Let's Encrypt. We will also make use of Dokku's Let's Encrypt plugin to manage https:// for our applications and apply cron jobs so that our SSL certificates will auto-renew upon expiry....
How to use Gitlab's CI/CD Pipelines with Dokku to Push your Application to Production
GitLab is a DevOps lifecycle tool similar to that of GitHub. With GitLab we can host our git-repository and utilize its CI/CD pipeline features to push our development code to production for free. In this tutorial I will show you how you can use GitLab's CI/CD pipelines to push our development project to our Dokku instance....
Create, Access and Use SSH Keys with macOS
SSH or "Secure Shell" is a network protocol for operating networked services securely. It is typically used for remote command-line authentication and command execution. In this tutorial I will show you how you can create, access and use your SSH key for macOS....
How to Create & Setup Dokku Applications & Databases
In the previous tutorial I showed you how you can install Dokku on a DigitalOcean droplet. Today I will follow along in those footsteps and show you how you can setup your applications, install a database and link it to your application....
How to Install & Setup Dokku on DigitalOcean
Dokku is a fantastic free and open-source project for creating your very own docker-powered PaaS (Platform as a Service). You can think of it as your own self-hosted Heroku, for a fraction of the cost. In this tutorial I will show you how we can install and setup Dokku on a DigitalOcean VPS....
Query your Django REST API like a GraphQL API with Django RESTQL
Django RESQL is a Django package that makes it possible to query your Django REST Framework in a similar fashion to that of a GraphQL API. In this tutorial we go over the basics, how to install Django RESQL and how to make your first GraphQL like Django Rest Framework query....
Django REST Framework
How to Cache Django REST Framework with Redis
Django REST Framework is an awesome package that will aid you in writing REST APIs faster with Django and Python. Though Django REST Framework has many strengths, performance out-of-the-box might not be one of them. However, there are many ways to fix that, and one of them is caching. So today, I thought I would share the basics on how you can use Redis as a key-value store to cache Django ORM que...
Django REST Framework
How to Install Redis on MacOS with Curl
Redis a fantastic free and open-source in-memory key-value database that can be used to cache your web app to improve both performance and resource consumption. Today I will go over how we can install and run Redis locally on your Mac....
Fix PostgreSQL error: Stale postmaster.pid file on macOS
The following tutorial will show you how to delete the postmaster.pid file so that you can restart your PostgreSQL service and run it as intended....
How to Rebuild Django-MPTT Tree Structure
Django-MPTT is a package for Django that includes utilities for implementing Modified Preorder Tree Traversal. In this tutorial we will learn how to rebuild a dajngo-mptt model....
How to Install & Configure Strapi with PostgreSQL
Learn how to install Strapi and configure it to use PostgreSQL as a database for you next project. Strapi makes it really simple to setup Strapi and PostgreSQL with the command line tools that comes included in all Strapi projects install without the --quckistart flag....
How to Build a Movie Database & API with Strapi
Strapi is an awesome headless CMS built with Node.js that can speed up the process of building an APIs. In this tutorial we build a movie database and corresponding API to showcase the beauty of working with Strapi....
3 Ways to Backup & Restore a PostgreSQL Database
PostgreSQL is a fantastic free and open-source relational database. I would personally argue that it's the best. Today we are going to have a look at how you can backup and restore your PostgreSQL database....
How to Count Reverse ManyToMany Relationships with Django REST Framework
Reverse ManyToMany relationships in Django can be somewhat confusing at times, in this tutorial we take a look at how we can use them with Django REST Framework....
Django REST Framework
How to Verify Your Svelte/Sapper Application With Google Search Console
Learn how to verify your Svelte / Sapper powered site with Google Search Console by using the classical .html verification....
Google Search Console
How to Install Pip on Ubuntu 18.04 LTS
Pip is the standard package manager for the programming language Python. Pip drastically simplifies the process of installing and manage open source Python packages. In this tutorial I will show you how to install pip for Ubuntu 18.04 LTS (Bionic Beaver)....
Ubuntu 18.04 LTS