Tipi is an open-source lightweight development web server that allows you to easily run your local PHP applications. This tutorial will guide you through the steps to install Tipi on macOS.
Before you start, make sure you have the following prerequisites installed:
Open the Terminal application on your macOS by searching in the Spotlight or navigate to the folder using Finder and right-click on it and select "New Terminal at Folder".
Install PHP 7.4, which is a minimum requirement for Tipi using the following command:
$ brew install [email protected]
Install Nginx web server by executing the command:
$ brew install nginx
Next, install Tipi using Composer:
$ composer global require meienberger/tipi
You can then verify if Tipi has been installed correctly by running:
$ tipi version
The output should display the current version of Tipi installed on your system.
You can now create a new Tipi project by navigating to the directory you want to create your project in, then run the command:
$ tipi create my-project
The above command will create a new Tipi project named my-project
and generate a basic directory structure.
You can start the Tipi server by running the command:
$ cd my-project
$ tipi serve
This will start the Tipi server on port 8000
Tipi is a great choice for development web server, and it's easy to get started with on macOS. Follow the steps in this tutorial to install Tipi and start using it for your local development.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!