Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 736 Bytes

SETUP.md

File metadata and controls

34 lines (24 loc) · 736 Bytes

Setup

This document is meant for setting up this project locally for contributors, not for those seeking to use the package. For information on how to set up the project, refer to the "Getting started" page.

Steps

  1. Clone the repo
git clone [email protected]:drtheuns/apitizer_php && cd apitizer_php
  1. Load dependencies
composer install
  1. Setup testing

Create a new file, .env, in the project root and put your database credentials in there:

DB_CONNECTION=pgsql
DB_DATABASE=apitizer_php_testing
DB_USERNAME=postgres
DB_PASSWORD=postgres

You can now start testing by using the composer test alias, or by directly calling ./vendor/bin/phpunit.