<commit_before># docker-wordpress-xdebug
WordPress Docker image for debugging WordPress, themes or plugins, bundled with MySQL, WordPress CLI and Xdebug. 
Installs an automatically configured, ready to use WordPress. 

The WordPress sources can be mounted to the host file system for debugging the WordPress source code.
Everything needed to run WordPress is included in the image and no manual configuration is needed. 

This image is perfect for debugging WordPress, themes or plugins.

The MySQL database is accessible from the host. 

## How to use it
1. Run WordPress

    ```
    docker run --name my-wordpress -v /path/to/host/wordpress_sources:/wordpress_sources -p 80:80 -d kaihofstetter/wordpress-xdebug
    ```
    
    **Very important!
    The folder '/path/to/host/wordpress_sources' should be empty, except for plugin or theme source code you want to debug. The WordPress sources will be copied to the folder!**
2. Access WordPress

    ```
    http://localhost
    ```

2. Log in to WordPress

    ```
    http://localhost/wp-login.php
    ```

    Username: 'admin_user'<commit_msg>Update Step 1 To Correct Docker Name<commit_after># docker-wordpress-xdebug
WordPress Docker image for debugging WordPress, themes or plugins, bundled with MySQL, WordPress CLI and Xdebug. 
Installs an automatically configured, ready to use WordPress. 

The WordPress sources can be mounted to the host file system for debugging the WordPress source code.
Everything needed to run WordPress is included in the image and no manual configuration is needed. 

This image is perfect for debugging WordPress, themes or plugins.

The MySQL database is accessible from the host. 

## How to use it
1. Run WordPress

    ```
    docker run --name my-wordpress -v /path/to/host/wordpress_sources:/wordpress_sources -p 80:80 -d kaihofstetter/docker-wordpress-xdebug
    ```
    
    **Very important!
    The folder '/path/to/host/wordpress_sources' should be empty, except for plugin or theme source code you want to debug. The WordPress sources will be copied to the folder!**
2. Access WordPress

    ```
    http://localhost
    ```

2. Log in to WordPress

    ```
    http://localhost/wp-login.php
    ```

    Username: 'admin_user'
{'fraction_non_alphanumeric': 0.07315978456014363, 'fraction_numerical': 0.006732495511669659, 'mean_word_length': 3.5304878048780486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7668923', 'n_tokens_mistral': 621, 'n_tokens_neox': 556, 'n_words': 273}