Added automatic download and installation of Composer and PHPUnit for Vagrant (merge #550)

This commit is contained in:
Frederic Guillot
2015-01-26 21:08:29 -05:00
parent cdcc6843fd
commit 29606b34cb
4 changed files with 38 additions and 0 deletions

View File

@@ -53,6 +53,8 @@ Time: 9.05 seconds, Memory: 17.75Mb
OK (74 tests, 6145 assertions)
```
**NOTE:** PHPUnit is already included in the Vagrant environment
### Testing with Mysql
You must have Mysql or MariaDb installed on localhost.

View File

@@ -9,6 +9,8 @@ Several configurations are available:
- Ubuntu 14.04 LTS with Kanboard/Postgresql
- Debian 7.6 with Kanboard/Sqlite
All Vagrant environments come with Composer and PHPunit pre-installed.
To use those configurations, you have to install the **last version** of Virtualbox and Vagrant.
Standard boxes can be download from [VagrantCloud](https://vagrantcloud.com):
@@ -24,8 +26,11 @@ If you want to test Kanboard on Ubuntu with Sqlite:
vagrant up sqlite
```
**NOTE:** If you downloaded the dev version from GitHub instead of the pre-packaged zip file, remember to SSH into your Vagrant environment and run ```composer install```.
After the initialization, go to http://localhost:8001/.
To test with Mysql:
```bash