Make WordPress Core

Changeset 55303


Ignore:
Timestamp:
02/10/2023 02:59:04 AM (22 months ago)
Author:
helen
Message:

Build/Test Tools: Add a devcontainer for Codespaces support.

This adds a devcontainer configuration tested for use with GitHub Codespaces. It is currently built on top of the Docker wordpress image for initial trial purposes. We should eventually be using our own containers to fully own the environment.

This should be considered a beta run to get a sense of how well cloud dev containers work for core contributors, in particular at contributor day events with limited bandwidth and mobile devices.

Props samruddhikhandale, dinhtungdu, helen, craiglpeters, sam1el, wirecat.
See #57187.

Location:
trunk
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.gitignore

    r54289 r55303  
    3939/packagehash.txt
    4040/artifacts
     41/setup.log
    4142
    4243# Files and folders that get created in wp-content
  • trunk/README.md

    r54650 r55303  
    77
    88## Getting Started
     9
     10### Using GitHub Codespaces
     11
     12To get started, create a codespace for this repository by clicking this 👇
     13
     14[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=trunk&repo=75645659)
     15
     16A codespace will open in a web-based version of Visual Studio Code. The [dev container](.devcontainer/devcontainer.json) is fully configured with softwares needed for this project.
     17
     18**Note**: Dev containers is an open spec which is supported by [GitHub Codespaces](https://github.com/codespaces) and [other tools](https://containers.dev/supporting).
     19
     20In some browsers the keyboard shortcut for opening the command palette (Ctrl/Command + Shift + P) may collide with a browser shortcut. The command palette can be opened via the `F1` key or via the cog icon in the bottom left of the editor.
     21
     22When opening your codespace, be sure to wait for the `postCreateCommand` to finish running to ensure your WordPress install is successfully set up. This can take a few minutes.
     23
     24### Local development
    925
    1026WordPress is a PHP, MySQL, and JavaScript based project, and uses Node for its JavaScript dependencies. A local development environment is available to quickly get up and running.
     
    109125* Password: `password`
    110126
     127**Note:** With Codespaces, open the portforwarded URL from the ports tab in the terminal, and append `/wp-admin` to login to the site.
     128
    111129To generate a new password (recommended):
    112130
Note: See TracChangeset for help on using the changeset viewer.