shov / wpci
WordPress Continuous Integration
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.1
- johnpbloch/wordpress: ^4.9
- shov/wpci-core: 0.1
- wpackagist-plugin/advanced-custom-fields: ^4.0
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2025-03-30 07:51:28 UTC
README
WordPress Continuous Integration
Moved to this repo.
Usage
-
Start with
composer create-project --prefer-dist shov/wpci ./new-site
, it will download wordpress to./new-site/wordpress
, and other required packages to./new-site/vendor
-
The next step is run docker containers, to start application locally. You should have installed docker-ce and docker-compose as well.
cd ./new-site/docker-config
, prepare environment data:cp ./.env.example ./.env
and start docker withdocker-compose up --build -d
You can check all container running well usingdocker-compose ps
, and stop all withdocker-compose stop
ordocker-compose down
to remove all containers as well -
Open website on
localhost
in your browser and make install wordpress using values fromnew-site/docker-config/.env
for database configuration, as host putmysql
-
Go wp admin Appearance -> Themes and turn on the wpci theme (it should be in the list)
-
Go Settings -> Permalinks and turn off plain mode
-
Go Plugins and activate Advanced Custom Fields plugin
-
Research src/app/App.php to understanding routes
Development
The project still under construction, as the task board I'm using Trello