Environment

  • Spoofing IP’s for websites (mac os)

    Categories: ,

    Using /etc/hosts on macOS to Point a Domain to a Staging Server When previewing a website on a migration server before the domain goes live, you can override DNS locally using the /etc/hosts file. Why This Is Needed Some domains resolve to both: If you only override IPv4 like this: Firefox and Safari may still…

  • Changing the Default Git branch in Github

    Categories: ,

    When working with Git, it’s sometimes necessary to change the default branch — especially if you want pull requests to target a branch other than main or master by default. This can also be important when migrating repositories from Bitbucket to GitHub, as GitHub may incorrectly set the default branch (often choosing the first one…

  • Local Development Environment Setup

    Categories:

    1. Initial Setup This guide will walk you through setting up your local development environment for working on KZ client sites. By the end of this guide, you will have a fully functional local WordPress site that mirrors our staging environment. 2. Required Software Installation Before starting, install the following applications. 2.1 Local by Flywheel…

  • Bitbucket to GitHub Repository Migration Guide

    Categories: ,

    This guide explains how to migrate a Git repository from Bitbucket to GitHub using the command line. It preserves all branches, tags, and full commit history. 1) Prerequisites 2) Clone the Bitbucket repository In a local directory (outside of your local environment like Local by Flywheel) you will clone the BitBucket repository. NOTE: this isn’t…

  • Legacy Zeitpress Asset Tooling

    Categories:

    Old versions of zeipress use Zurb Foundation with node and gulp to build assets. These are the versions of node you may need to try in order for the tooling to work: Try 14.15.3 first as it usually fixes any issues running npm install. Use nvm (Node Version Manager) to mange your node versions locally,…

  • Local

    Categories: ,

    Local (formerly known as Local by Flywheel) is a local development environment for WordPress websites. It allows developers to create and manage WordPress sites on their local machines, offering features like one-click WordPress installation, SSL support, and easy site import/export. Local is popular for testing, development, and debugging WordPress sites before deploying them to a…

  • Sourcetree

    Categories: ,

    Sourcetree is a free Git and Mercurial client for Windows and macOS developed by Atlassian. It provides a graphical interface for managing repositories, branches, and commits, making it easier for developers to interact with version control systems without using the command line. Sourcetree simplifies complex Git operations, like merging, rebasing, and resolving conflicts, and integrates…

  • VS Code

    Categories: ,

    Visual Studio Code, commonly known as VS Code, is a free, open-source code editor developed by Microsoft. It supports a wide range of programming languages and frameworks, and comes with features like debugging, integrated Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. VS Code is highly customizable with a large ecosystem of…

  • AdminerEvo

    Categories: ,

    AdminerEvo is a fork of Adminer, a lightweight database management tool that is often used as an alternative to phpMyAdmin. It provides a simple web-based interface to manage databases, execute SQL queries, manage users and permissions, and perform database maintenance tasks. AdminerEvo is designed to be easy to deploy, secure, and efficient, making it a…