Skip to content

Commit

Permalink
Merge pull request #72 from Xerkus/drop-vagrantfile
Browse files Browse the repository at this point in the history
Drop unmaintained Vagrantfile
  • Loading branch information
Xerkus committed May 2, 2023
2 parents ed5bf98 + 15bf3b9 commit 44328a0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 93 deletions.
35 changes: 0 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,41 +110,6 @@ Once psalm support is present, you can run the static analysis using:
$ composer static-analysis
```

## Using Vagrant

This skeleton includes a `Vagrantfile` based on ubuntu 18.04 (bento box)
with configured Apache2 and PHP 7.3. Start it up using:

```bash
$ vagrant up
```

Once built, you can also run composer within the box. For example, the following
will install dependencies:

```bash
$ vagrant ssh -c 'composer install'
```

While this will update them:

```bash
$ vagrant ssh -c 'composer update'
```

While running, Vagrant maps your host port 8080 to port 80 on the virtual
machine; you can visit the site at http://localhost:8080/

> ### Vagrant and VirtualBox
>
> The vagrant image is based on bento/ubuntu-18.04. If you are using VirtualBox as
> a provider, you will need:
>
> - Vagrant 2.2.6 or later
> - VirtualBox 6.0.14 or later
For vagrant documentation, please refer to [vagrantup.com](https://www.vagrantup.com/)

## Using docker-compose

This skeleton provides a `docker-compose.yml` for use with
Expand Down
57 changes: 0 additions & 57 deletions Vagrantfile

This file was deleted.

1 change: 0 additions & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
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"
);
}
Expand Down

0 comments on commit 44328a0

Please sign in to comment.