{"id":14954744,"url":"https://github.com/wordpress/learn","last_synced_at":"2025-12-29T18:02:23.182Z","repository":{"id":37498065,"uuid":"284837059","full_name":"WordPress/Learn","owner":"WordPress","description":"WordPress.org Learn - The canonical source for the code and content behind https://learn.WordPress.org","archived":false,"fork":false,"pushed_at":"2024-10-24T22:49:26.000Z","size":11838,"stargazers_count":273,"open_issues_count":477,"forks_count":100,"subscribers_count":32,"default_branch":"trunk","last_synced_at":"2024-10-29T14:14:12.527Z","etag":null,"topics":["hacktoberfest","wordpress","wporg"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WordPress.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-04T00:28:07.000Z","updated_at":"2024-10-29T08:13:05.000Z","dependencies_parsed_at":"2023-10-16T14:16:56.841Z","dependency_job_id":"790aa3dd-e53f-4801-b758-bf9136911d26","html_url":"https://github.com/WordPress/Learn","commit_stats":{"total_commits":1245,"total_committers":49,"mean_commits":"25.408163265306122","dds":0.8136546184738955,"last_synced_commit":"c529d1158e8046b19f6ffacbd20c09cba85593d2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2FLearn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2FLearn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2FLearn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WordPress%2FLearn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WordPress","download_url":"https://codeload.github.com/WordPress/Learn/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829491,"owners_count":21002995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","wordpress","wporg"],"created_at":"2024-09-24T13:09:22.302Z","updated_at":"2025-12-29T18:02:18.140Z","avatar_url":"https://github.com/WordPress.png","language":"PHP","readme":"# WP - Learn WordPress\n\nThe details below will walk you through getting set up to contribute to the **code** behind https://learn.wordpress.org. If you are interested in contributing to the **content** or **translation** of the content hosted on the site, you'll find further guidance in the [Training Team Handbook](https://make.wordpress.org/training/handbook/). Content development is tracked on this GitHub repository [in this project board](https://github.com/orgs/WordPress/projects/33/views/1).\n\n## Getting Started Workshops\nIf you're interested in contributing to the site, but aren't sure where to start, we have a series of workshops to help you get started. \n- [Contributing to Learn WordPress with code – part 1](https://www.youtube.com/watch?v=3KU0Vdn5_6g)\n- [Contributing to Learn WordPress with code – part 2](https://www.youtube.com/watch?v=3Rx2KoZToZk)\n\n## Prerequisites\n- [Docker](https://docs.docker.com/get-docker/)\n- [Node/NPM](https://nodejs.org/en/download/)\n- [Yarn](https://www.npmjs.com/package/yarn)\n- [Composer](https://getcomposer.org/download/)\n- [SVN](https://subversion.apache.org/packages.html)\n- [NVM](https://github.com/nvm-sh/nvm) or [N](https://github.com/tj/n) (optional)\n\n## Setup\n1. `nvm use` or ensure you are running the Node version specified in the `.nvmrc` file\n2. `yarn`\n3. `yarn run create`\n4. Visit site at `localhost:8888`\n5. To watch for changes `yarn start:theme`\n\n## Apple Silicone machines and old MySQL versions\n\nIf you are on a Mac using Apple Silicon processors (M1, M2, etc.) and you experience MySQL related errors on setup, you may need to [override the Docker MySQL config settings](https://github.com/WordPress/wordpress-develop/?tab=readme-ov-file#apple-silicone-machines-and-old-mysql-versions).\n\n## Starting Environment\n\nIf you have already set up the environment using `yarn run create`, you can start it with:\n\n    yarn run wp-env start\n\n## Stopping Environment\n\n\tyarn run wp-env stop\n\n## Removing Environment\n\n\tyarn run wp-env destroy\n\n## Admin\n\nSince the local environment uses [wp-env](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/), it automatically comes with an admin user, with `admin`/`password` for the credentials.\n\n## Development\n\nWhile working on the theme \u0026 plugin, you might need to rebuild the CSS or JavaScript.\n\nTo build all projects, you can run:\n\n\tyarn build\n\nTo build one project at a time, run:\n\n\tyarn workspace wporg-locale-switcher build\n\tyarn workspace wporg-learn-2024 build\n\tyarn workspace wporg-learn-plugin build\n\nIf you want to watch for changes, run:\n\n\tyarn start:locale-switcher\n\tyarn start:theme\n\tyarn start:plugin\n\n### Linting\n\nThis project has eslint, stylelint, and phpcs set up for linting the code. This ensures all developers are working from the same style.\n\nTo lint everything run:\n\n\tyarn lint\n\nTo lint one language run one of:\n\n\tyarn lint:js\n\tyarn lint:css\n\tyarn lint:php\n\nTo check an individual project before pushing to the repo, run one of:\n\n\tyarn workspace wporg-locale-switcher lint:css\n\tyarn workspace wporg-locale-switcher lint:js\n\tyarn workspace wporg-learn-2024 lint:css\n\tyarn workspace wporg-learn-2024 lint:js\n\tyarn workspace wporg-learn-plugin lint:css\n\tyarn workspace wporg-learn-plugin lint:js\n\tcomposer run lint\n\nLinting will also be run automatically on each PR.\n\n### Contributing\n\nIf you'd like to contribute to the project, please read the [Developing Learn WordPress](https://make.wordpress.org/training/handbook/training-team-how-to-guides/developing-learn-wordpress/) page in our team handbook. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Flearn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress%2Flearn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress%2Flearn/lists"}