소스 검색

update README.md

3.x
Andrew Wallo 1 년 전
부모
커밋
de9dbddc10
1개의 변경된 파일19개의 추가작업 그리고 0개의 파일을 삭제
  1. 19
    0
      README.md

+ 19
- 0
README.md 파일 보기

78
 
78
 
79
     php artisan migrate:refresh
79
     php artisan migrate:refresh
80
 
80
 
81
+## Generating PDFs for Reports
82
+
83
+To generate PDFs for reports, the application uses Laravel Snappy. The Laravel Snappy package is already included in the application, but you need to install Wkhtmltopdf separately.
84
+
85
+### Wkhtmltopdf Installation
86
+
87
+1. **Download and install Wkhtmltopdf**
88
+   - [Wkhtmltopdf Downloads](https://wkhtmltopdf.org/downloads.html)
89
+   
90
+   - Alternatively, if you are using Homebrew on macOS, you can install it using the following command:
91
+     ```bash
92
+     brew install wkhtmltopdf
93
+     ```
94
+
95
+2. **Configure the binary paths**
96
+   - If needed, you can change the paths to the Wkhtmltopdf binaries in the Snappy configuration file (`config/snappy.php`).
97
+
98
+For detailed installation instructions, refer to the [Laravel Snappy documentation](https://github.com/barryvdh/laravel-snappy).
99
+
81
 ## Live Currency
100
 ## Live Currency
82
 
101
 
83
 ### Overview
102
 ### Overview

Loading…
취소
저장