- PHP 5.4+
- MySQL
- Optional but recommended: Vagrant
[email protected]/password
The easiest way to set this project up is with Vagrant.
If you're not familiar with Vagrant, please see https://www.vagrantup.com/.
-
Download and install Vagrant
-
Clone project and run
composer install
in project root -
In root directory run
vagrant up
Once you're up and running you'll need to configure the Twilio settings.
-
Login into your Twilio account (or create a demo account).
-
In Manage Numbers choose the number you want to use and configure the Messaging Request URL to point to
http://<url>/api/retext/twilio
Protip: Instead of installing on a public IP use ngrok and test it locally.
Here are the steps to manually setup this project.
-
Download and install the code in the root directory of your (LAMP) Webserver.
-
Install composer
curl -sS https://getcomposer.org/installer | php
-
In the root directory run
composer install
-
Create MySQL database and edit
config/database.ini
and add the nessecary information. -
Login using Credentials.
-
Setup Twilio
-
Be sure to have either sqlite (pdo) installed or edit the
tests/config/database.ini
to configure your test database -
Run
phpunit
in the root directory.
- @jmashburn