/datamapps

doctrine or data mapper?

Primary LanguagePHP

datamapps

Setup

  1. Create a database on the machine you're deploying to (or a db you are using to test with)
  2. Tweak db.php config and db config in ORMApp/Services.php
  3. Make a proxies directory in the root of the project and make it writeable.
  4. Run ./oconsole orm:generate-proxies
  5. Run ./oconsole migrations:migrate

Running The Tests

  1. ./oconsole test:ormapp create
  2. ./mconsole test:mapperapp create
  3. ./oconsole test:ormapp read
  4. ./mconsole test:mapperapp read

Cleaning out data

  1. ./oconsole test:ormapp delete