Modernized plugin code-base - #132
Conversation
…ce to CreativeCommons_TOT with src folder as the source folder to the plugin codebase susing autoload psr-4.
… WordPress plugin requirement
Hi @possumbilities I have attended to this, thanks. |
|
@onyijne When testing via |
Hi @possumbilities, yes
|
|
@onyijne That makes sense, but I would add that the db creation and setup should be a part of the Docker process, not something that should have to be manually performed. |
Okay @possumbilities I will add a script to dev/docker-compose.yml to automate the db setup for development. |
|
Hi @possumbilities the db setup is now automated. Thanks |

Fixes
Description
Technical details
During development to build JavaScript assets
cd termination-of-transferthennpm run installto install development dependencies, andnpm run buildto build the assetsFor development purposes a docker-compose.yml file was created with db and
PhpMyadmindbsetup services.I used 8701 as my outside port, you can use anyone that’s open and free on your host machine.
After getting the files, cd to it
cd termination-of-transfer/devand run
docker compose up -d —buildThis should start the wp, db and
phpmyadmindbsetup services.After building for the first time you should login to "phpmyadmin", and create a new database named "wordpress" then grant "dbUsername" access to the database.A dbsetup service has been added to automate db setup
Tests
To run Result test on your machine type
chmod +x test/result-pdf.sh && test/result-pdf.sh 8701where 8701 is the port number of your host machine.Screenshots
Checklist
Update index.md).mainormaster).visible errors.
Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin