Skip to content

Local development environment for CreativeCommons.org (product name: index)

License

Notifications You must be signed in to change notification settings

creativecommons/index-dev-env

Repository files navigation

creativecommons.org-environment

Local development environment for creativecommons.org

Docker containers

The docker-compose.yml file defines the following containers:

  1. cc-web (localhost:8080)
  2. cc-wordpress-db
  3. cc-composer
  4. cc-phpmyadmin (localhost:8003)
  5. cc-wpcli

Setup

  1. Ensure the following repositories are cloned adjancent to this repository:
    PARENT_DIR
    ├── cc-legal-tools-data
    ├── creativecommons.org-environment
    ├── chooser
    ├── faq
    └── mp
    
  2. Create the .env file:
    cp .env.example .env
  3. Update .env to set desired values for variables (WP_VERSION, WP_MOD_TYPE, WP_MOD_NAME, etc.)
  4. Build/start Docker:
    docker compose up
  5. Wait for build and initialization to complete
  6. Install WordPress initially through the GUI.
    • TODO: Script help here

Dev component URLs

Component URL
Chooser /choose
FAQ /faq
Licenses /licenses
Platform Toolkit /platform/toolkit
Public Domain /publicdomain
WordPress / (default)

Plugins

Name Version
Advanced Custom Fields ^1.6
Advanced Custom Fields: Menu Chooser v1.1.0
Classic Editor ^6.1

About

Local development environment for CreativeCommons.org (product name: index)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •