-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernized plugin code-base #132
base: main
Are you sure you want to change the base?
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-transfer
thennpm run install
to install development dependencies, andnpm run build
to 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/dev
and run
docker compose up -d —build
This 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 8701
where 8701 is the port number of your host machine.Screenshots
Checklist
Update index.md
).main
ormaster
).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