Skip to content

Base Migration and Seeding - DEV ENV #1 (DOCKERHUB) #21

Description

@garzarobm

Issue is to document the process of the first setup of a database for a Docker Compose Portrainer project using CakePHP which will cover:

1. Setup of the docker compose file

  • Explanation of how the Volumes connect to the webapp
  • Basic explanation of how cakephp console ('docker compose exec...') is used to record database migrations
  • Creating the base structure of the server that will be used to reset the entire project and start from scratch.
  • Input the 'adapter' entries and incorporate into the server (with explanation)

Explain Migrations and Seeding with CakePHP:

  • Create Migration using CakePHP and explain what has occurred within the local server
  • Create Seed using CakePHP and explain what has occurred within the local server

Deliverable:

As a deliverable, I will record a brief migration/seed test run after inserting five to ten adapter items. I believe this documentation would be beneficial for both of us as a reference. I will document the progress through a GitHub issue.

Metadata

Metadata

Assignees

Labels

back-endLabels for Back-end FunctionalitydocumentationImprovements or additions to documentationfront-endLabel that assist with describing more information on how the front end will work.good first issueGood for newcomers

Type

Fields

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions