MrDoc Deployment Guide
Simple Run
Deployment guide
Deploy MrDoc with Docker (recommended)
Docker image deployment
Deploy with Docker Compose
Manage Docker containers
Deploy MrDoc on Linux
Deploy MrDoc with Nginx + uWSGI
One-click deployment script (no longer maintained)
Baota Panel "Python Project Manager 1.9" deployment
Official Docker image deployment
Deploy MrDoc on Windows
Deploy with Waitress
Windows deployment panel
NAS deployment
Deploying on Zspace NAS
Feiniu FnOS deployment
Update upgrade notes - Open Source Edition
Update upgrade notes - Pro edition
System dependency library description
Migrating native deployment to Docker deployment
Configuration guide
Custom database configuration
Configure PDF generation for collections
Full-text search configuration
Using MySQL database with Docker
Configuring MySQL database to support emoji
Host static file resources with Nginx
Enable SSL with Nginx / Set up HTTPS
Configure reverse proxy/bind domain with Nginx
Nginx handling local video playback
Custom uWSGI configuration
Configuration file description
Data security
Site data backup/site migration
Professional data export and import
Open source data export and import
Data migration from open source to professional edition
Frequently asked questions
What to do if SQLite3 version error occurs?
What if the admin forgets the password?
Error: SyntaxError: invalid syntax
MySQLdb._exceptions.OperationalError: (1366, "Incorrect string value:")
Baota Panel "Python Project Manager" virtual environment usage issues.
View logs/log storage location
403 errors on POST/PUT requests for login, publish, upload, and edit under Nginx/HTTPS
What if I can't access the backend after switching the default login method?
Troubleshooting
Tip sponsorship records
MrDoc deployment server configuration recommendations
Powered by MrDoc Pro
-
+
home
Configure PDF generation for collections
# Configuration for Generating PDF Files from Projects > i MrDoc deployed based on the [official Docker image](https://doc.mrdoc.pro/doc/3958/) does not require this processing. Generating PDF from a project requires additionally installing Chrome/Chromium software on the computer (use Chrome on Windows, use Chromium on Linux). The usage is described below. ## Installing Chromium on Linux ### Installing Chromium on CentOS ``` sudo yum install chromium ``` ### Installing Chromium on Debian Run the command: ``` sudo apt-get install chromium ``` ## Installing Chrome on Windows Since installing Chromium on Windows is very inconvenient, using the commonly used Chrome browser can achieve the same effect. So if you use MrDoc on Windows, simply install the Chrome browser normally. ## Configuration Parameters ### Configuring the chromedriver path You need to manually download the chromedriver file to the computer and specify it in the configuration file `/MrDoc/config/config.ini`. ``` [selenium] driver_path = Fill in the absolute path of chromedriver here ``` The domestic download mirror address is: https://npm.taobao.org/mirrors/chromedriver/ After specifying, restart the MrDoc service, and MrDoc will use the chromedriver file path in the configuration file to call Chromium to generate PDF. ### Configuring the use of Chrome If you are using Chrome on Windows, you also need to configure the following in the configuration file: ``` [selenium] driver = Chrome ``` ## Handling Chinese Font Squares If the project generates a PDF successfully, but all the Chinese characters in the PDF file are squares, then it can be determined that the computer where MrDoc is deployed lacks Chinese fonts. Install Chinese fonts on the computer, for example: CentOS: ``` yum -y groupinstall Fonts ```
mrdoc
Sept. 29, 2026, 6:34 p.m.
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
share
link
type
password
Update password
Validity period
Markdown file
Word document
PDF document (print)