From 12ef160fb8a7fd46ae7926080af1b6e449a58b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Br=C3=BCckner?= Date: Fri, 26 Jan 2024 09:22:02 +0100 Subject: [PATCH] Removes Vagrant as an installation option, as it has also been removed from the skeleton application MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frank Brückner --- .../getting-started/skeleton-application.md | 37 +------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/docs/book/getting-started/skeleton-application.md b/docs/book/getting-started/skeleton-application.md index e2822ba..8cd1427 100644 --- a/docs/book/getting-started/skeleton-application.md +++ b/docs/book/getting-started/skeleton-application.md @@ -151,14 +151,9 @@ new application is ready to start! > > At this point, you will be prompted to answer questions as noted above. > -> Alternately, if you do not have Composer installed, but *do* have either -> Vagrant or docker-compose available, you can run Composer via those: +> Alternately, if you do not have Composer installed, but *do* have docker-compose available, you can run Composer via those: > > ```bash -> # For Vagrant: -> $ vagrant up -> $ vagrant ssh -c 'composer install' -> # For docker-compose: > $ docker-compose build > $ docker-compose run laminas composer install > ``` @@ -226,7 +221,6 @@ In this tutorial, we will step you through four different ways to setup your web server: - Via the PHP built-in web server. -- Via Vagrant. - Via docker-compose. - Using Apache. @@ -256,34 +250,6 @@ and you should see the following 404 page: > > PHP's built-in web server should be used **for development only**. -### Using Vagrant - -[Vagrant](https://www.vagrantup.com/) provides a way to describe and provision -virtual machines, and is a common way to provide a coherent and consistent -development environment for development teams. The skeleton application provides -a `Vagrantfile` based on Ubuntu 14.04, and using the `ondrej/php` PPA to provide -PHP 7.3. Start it up using: - -```bash -$ vagrant up -``` - -Once it has been built and is running, you can also run composer from the -virtual machine. As an example, the following will install dependencies: - -```bash -$ vagrant ssh -c 'composer install' -``` - -while this will update them: - -```bash -$ vagrant ssh -c 'composer update' -``` - -The image uses Apache 2.4, and maps the host port 8080 to port 80 on the virtual -machine. - ### Using docker-compose [Docker](https://www.docker.com/) containers wrap a piece of software and everything needed to run it, @@ -426,7 +392,6 @@ if (! class_exists(Application::class)) { throw new RuntimeException( "Unable to load application.\n" . "- Type `composer install` if you are developing locally.\n" - . "- Type `vagrant ssh -c 'composer install'` if you are using Vagrant.\n" . "- Type `docker-compose run laminas composer install` if you are using Docker.\n" ); }