/breedersDB

Database for plant breeding. Developed for fruit trees.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Breeders Database

Stores your plants data and facilitates evaluation. Enables data based plant breeding.

Dev guide

Installation

  1. Install docker and docker-compose.
  2. Clone this repo git clone https://github.com/cyrillbolliger/breedersDB
  3. cd into the folder containing the repo
  4. Execute bash install.sh and have a ☕️ while it installs.
  5. Visit localhost:8000/

Database

  1. Runing migrations: docker-compose run app bin/cake migrations migrate --no-lock (do not use lock file as we can't use the diff function anyhow (Phinx does not support views)).
  2. Run the seeder: docker-compose run app bin/cake migrations seed --seed DemoSeed

Printer Setup

Suggested printer: Zebra P4T

  • Driver download
  • Installation: Use the ZPL driver (not CPCL).
  • Configuration: Enable Passthrou mode: Settings > Advanced Settings > Other > Passthrou. Use ${ and }$ as delimiters.

Trouble shooting

  • Remove printer (in new and old windows settings).
  • Add it again using the Zebra Setup Utility.
  • Reconfigure Passthrou mode.