Setup of Noter in CakePHP, MySQL and Docker (and other tools) - notes, commands, snippets go here.
Direct branch-URL - https://github.com/konnector-dev/noter/tree/cakephp-mysql
Repo URL - https://github.com/konnector-dev/noter
Branch - cakephp-mysql
Missed commands in the first version:
- git clone git@github.com:konnector-dev/noter.git
- cd noter
- git checkout cakephp-mysql
- docker-compose run noter composer install -n --prefer-dist
- docker-compose run noter bin/cake migrations migrate
- docker-compose run noter bin/cake migrations seed
- docker-compose up --build
admins
bin/cake bake migration CreateAdmins uuid:uuid[64]:index:UUID_INDEX login:string?:index:LOGIN_INDEX password:string? name:string? active:boolean? remember_me_token:string?:index:REMEMBER_ME_TOKEN_INDEX last_logged_in:datetime? created:datetime? modified:datetime?