/avoiding-unified-data-models

This is the application built for the talk Avoiding Unified Data Models.

Primary LanguagePHP

This repo is functional source code for the talk on Avoiding Unified Data Models.

Find the talk here.

Source Examples

These are the files referenced in the slides in the order that they appear in the talk.

Installation

git clone --recursive git@github.com:ShawnMcCool/avoiding-unified-data-models.git

Then, make sure that you have modern versions of Virtualbox, Ansible, and Vagrant set up. Don't worry. If you're running Windows or don't want to use the virtual machine then it's not a problem. Just, set up a regular PHP development environment including a MySQL database.

Then, install the composer dependencies.

host$ vagrant up
vm$ vagrant ssh
vm$ composer install

Set up the framework.

host$ vagrant ssh
vm$ cp .env.example .env
vm$ php artisan key:generate
vm$ php artisan migrate

Then, you can access the page in your browser at http://localhost:8080