Access logs for GitHub Codespaces
Log error files for a GitHub Codespace environment can be accessed in the terminal of the Visual Studio Code interface.
Ready to get started with WordPress VIP? Contact us
Showing page 2 of 17
Log error files for a GitHub Codespace environment can be accessed in the terminal of the Visual Studio Code interface.
The vip-sync-db
command can sync the database of a WordPress VIP Platform environment to a codespace environment that was created with the .devcontainer/devcontainer.json
file provided by WPVIP.
Managing environment values with the VIP-CLI vip config envvar
command is for VIP Platform environments only, and cannot be used on a VIP Local Development Environment. Manage environment variables on a VIP Local Development Environment by manually adding them as a defined constant instead.
The .devcontainer/devcontainer.json
file provided by WordPress VIP can be modified to customize the available features and settings of a codespace environment. Settings defined in the features
section of the file allow customers to optionally enable features such as Elasticsearch, Xdebug, Photon, and MailPit, or specify a version of PHP.
Only SQL database files that were exported from a WordPress install can be imported to a running codespace environment. For environments that are hosted on the VIP Platform, SQL database backup files can be downloaded from the application’s VIP Dashboard.
After a custom domain has been added to the VIP Dashboard for an environment, it must be verified before DNS instructions can be accessed and before a Let’s Encrypt certificate can be installed. Verification proves that a customer has ownership of a domain and the necessary credentials to access the domain’s DNS settings. Only verified domains can be used for launching a site or sending emails.
When analyzing a site’s performance, specific types of site requests and the pages that receive the largest amount of traffic should be the subjects for analysis. The application’s codebase should also be regularly scanned for opportunities to improve performance.
Implementing the IP allow list method in application code enables the IP address of an end user—sent by a reverse proxy—to be logged as the value of the True-Client-IP
header in HTTP request logs.
Single Sign-On (SSO) is an authentication method that allows a user to log in to the VIP Dashboard with credentials managed by an authentication service (e.g. Duo, Okta).
Using a WordPress.com user account for multi-factor authentication to log in to the VIP Dashboard also requires VIP Authentication.