2
0
Fork 0

Update README.md

This commit is contained in:
colin 2024-07-01 18:24:11 +00:00
parent d91cd26b49
commit 6812fa1274
1 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,5 @@
Certainly! Here's the updated `README.md` for the Simple Otel plugin:
# Simple Otel Plugin Installation
## Installation
@ -29,9 +31,10 @@ The `install.sh` script performs the following actions:
1. Defines the URL for downloading the `simple-otel.php` file.
2. Creates the target directory (`wp-content/plugins/simple-otel`) if it doesn't exist.
3. Downloads the `simple-otel.php` file into the target directory.
4. Creates a blank `config.php` file if it doesn't already exist and provides a template for configuration.
5. Sets the correct permissions for the `simple-otel.php` and `config.php` files.
6. Prints a message indicating that the Simple Otel plugin has been installed or updated successfully.
4. Downloads and unzips the `vendor` directory containing pre-installed dependencies.
5. Creates a blank `config.php` file if it doesn't already exist and provides a template for configuration.
6. Sets the correct permissions for the `simple-otel.php` and `config.php` files.
7. Prints a message indicating that the Simple Otel plugin has been installed or updated successfully.
## Configuration
@ -68,3 +71,5 @@ You can add more configuration options as needed. The plugin will include this f
## Additional Information
For more information on how to use and configure the Simple Otel plugin, please refer to the documentation or visit the [OpenTelemetry PHP documentation](https://opentelemetry.io/docs/php/).
By following these instructions, you can set up the Simple Otel plugin with pre-installed dependencies, making it easier for end-users to install and activate the plugin without needing to run Composer themselves.