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. Setup WordPress:
    ./setup-wordpress.sh
  7. Optionally: manually activate/configure wordfence in the GUI for now.
    • 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 6.1.8
Advanced Custom Fields: Menu Chooser 1.1.0
Classic Editor 1.6.3
Redirection 4.9.2
Tablepress 1.14
Wordfence 7.10.3
WordPress Imorter 0.8.1

Themes

Name Version
Vocabulary Theme 0.3.0

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •