Document docker-compose

This commit is contained in:
nicolas.dorier
2025-01-20 07:43:29 +09:00
parent 2777a71833
commit 400e2f281f

View File

@@ -47,8 +47,19 @@ Please replace `C:\\Sources\\btcpayserver-monero-plugin` with the absolute path
This will ensure that BTCPay Server loads the plugin when it starts.
Then start the development dependencies via docker-compose:
```bash
docker-compose up -d dev
```
Finally, set up BTCPay Server as the startup project in [Rider](https://www.jetbrains.com/rider/) or Visual Studio.
If you want to reset the environment you can run:
```bash
docker-compose down -v
docker-compose up -d dev
```
Note: Running or compiling the BTCPay Server project will not automatically recompile the plugin project. Therefore, if you make any changes to the project, do not forget to build it before running BTCPay Server in debug mode.
We recommend using [Rider](https://www.jetbrains.com/rider/) for plugin development, as it supports hot reload with plugins. You can edit `.cshtml` files, save, and refresh the page to see the changes.