Local development environment for creativecommons.org
The docker-compose.yml
file defines the following
containers:
- cc-web (localhost:8080)
- cc-wordpress-db
- cc-composer
- cc-phpmyadmin (localhost:8003)
- cc-wpcli
- Ensure the following repositories are cloned adjancent to this repository:
PARENT_DIR ├── cc-legal-tools-data ├── creativecommons.org-environment ├── chooser ├── faq └── mp
- Create the
.env
file:cp .env.example .env
- Update
.env
to set desired values for variables (WP_VERSION
,WP_MOD_TYPE
,WP_MOD_NAME
, etc.) - Build/start Docker:
docker compose up
- Wait for build and initialization to complete
- Install WordPress initially through the GUI.
- TODO: Script help here
Component | URL |
---|---|
Chooser | /choose |
FAQ | /faq |
Licenses | /licenses |
Platform Toolkit | /platform/toolkit |
Public Domain | /publicdomain |
WordPress | / (default) |
Name | Version |
---|---|
Advanced Custom Fields | ^1.6 |
Advanced Custom Fields: Menu Chooser | v1.1.0 |
Classic Editor | ^6.1 |