Once Valet is installed, you're ready to start serving sites using the park or link commands. Check it out if you want a fast development environment for Kirby and are not afraid of the command line. It requires you to install PHP directly onto your local machine. Laravel Valet is a minimalist development environment for Mac. We therefore don't really recommend this environment. You should now be able to reach your local server at While using the built-in server works fine for many use cases, you might sometimes run into issues. If a recent PHP version that supports Kirby is already installed on your system and you are fine using the command line, you can spin up PHP's built-in server from the command line, specifying the kirby/router.php file to use Kirby's router. WAMP is an open source tool with a GUI interface for Windows only. XAMPP is probably the most popular GUI tool used on Windows/Linux. In a default installation, the web root folder is located under programs/XAMPP/htdocs on a Mac or C:\XAMPP\htdocs on Windows. XAMPP is similar to MAMP, free, and available for Mac, Windows and Linux. A majority of the Kirby team has therefore switched to Laravel Valet (see below). By default, you can then access the project under We found loading websites on MAMP slow on OS X Mojave. Once MAMP is installed, the default folder to put your Kirby folder into is the programs/MAMP/htdocs folder (Mac) or the C:\MAMP\htdocs folder (Windows). MAMP Pro allows you to create a host for each project, use Nginx instead of Apache, and some other useful features. Both MAMP and MAMP Pro come with Apache, up-to-date versions of PHP and all the modules you need for Kirby already installed. ![]() They are a good solution if you prefer a GUI interface. ![]() MAMP (free) and MAMP Pro (paid) are available for both Mac and Windows. Kirby has only very few server requirements, and you have therefore many options when choosing the development environment that is right for you–no matter if you want to develop on a Mac, Windows or Linux. The easiest way to start testing and developing with Kirby is in a local development environment: you can easily edit your files locally, immediately see changes in the browser, and deploy your site on a public server when you are ready.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |