2021-03-27 22:43:54 +08:00
< h1 align = "center" > MrDoc - Writing documents, Gathering ideas< / h1 >
2019-12-15 20:54:16 +08:00
2021-03-27 22:43:54 +08:00
< p align = "center" > Personal and small team notes, documents, knowledge management privatization deployment scheme< / p >
2020-06-28 20:48:46 +08:00
2021-03-19 07:41:53 +08:00
< p align = "center" >
2021-03-27 22:48:32 +08:00
< a href = "./README-zh.md" > 中文介绍< / a > |
< a href = "./README.md" > English Description< / a >
2021-03-19 07:41:53 +08:00
< / p >
2020-10-29 22:42:17 +08:00
< p align = "center" >
2022-03-31 08:27:50 +08:00
< img src = "https://img.shields.io/badge/MrDoc-v0.7.7-brightgreen.svg" title = "Mrdoc" / >
2021-12-30 10:33:00 +08:00
< img src = "https://img.shields.io/badge/Python-3.6+-blue.svg" title = "Python" / >
2020-10-29 22:42:17 +08:00
< img src = "https://img.shields.io/badge/Django-v2.2-important.svg" title = "Django" / >
< / p >
2021-03-13 08:46:35 +08:00
< p align = "center" >
2021-09-16 15:40:12 +08:00
< a href = "https://mrdoc.pro/en.html" > Home< / a > |
2021-03-27 22:43:54 +08:00
< a href = "http://mrdoc.zmister.com/" > Example Site< / a > |
2021-08-21 09:52:54 +08:00
< a href = "https://qm.qq.com/cgi-bin/qm/qr?k=LsgDSw8a6IlrzORBGGyRC6LrlIU_vYON&jump_from=webapi" > QQ Group< / a >
2021-03-27 22:43:54 +08:00
2021-03-13 08:46:35 +08:00
< / p >
2020-10-29 22:42:17 +08:00
< p align = "center" >
2021-09-09 07:49:53 +08:00
< a href = "https://doc.mrdoc.pro/project-7/" > Installation Manual< / a > |
< a href = "https://doc.mrdoc.pro/project-54/" > User Manual< / a > |
< a href = "https://doc.mrdoc.pro/project-20/" > Document Example< / a >
2020-10-29 22:42:17 +08:00
< / p >
2019-07-10 22:03:55 +08:00
2021-03-27 22:43:54 +08:00
< p align = "center" > Source code: < a href = "https://gitee.com/zmister/MrDoc" > Gitee< / a > |
2020-10-29 22:42:17 +08:00
< a href = "https://github.com/zmister2016/MrDoc" > GitHub< / a >
2020-07-31 20:23:23 +08:00
< / p >
2019-07-29 12:56:09 +08:00
2021-03-27 22:43:54 +08:00
### Introduce
2020-05-16 21:27:00 +08:00
2021-03-27 22:43:54 +08:00
`Mrdoc` is an online document system developed based on python. It is suitable for individuals and small teams to manage documents, knowledge and notes. It is committed to become a private online document deployment solution for the whole platform (web, desktop, mobile).
2020-05-16 21:27:00 +08:00
2021-03-27 22:43:54 +08:00
Current Platform:
2020-05-04 21:26:07 +08:00
2022-02-16 10:04:09 +08:00
- Web:[instructions](http://mrdoc.zmister.com/project-7/);
- Chrome Extends:[MicroSoft Edge](https://microsoftedge.microsoft.com/addons/detail/dihimgafbjljdfanobikhnolpmjjhpic) | [Chrome ](https://chrome.google.com/webstore/detail/jefmnpfkhhmmnfbhaegnggffbdplijje )
2022-04-24 07:39:42 +08:00
- Desktop: supportd Windows,macOS,Linux [Download ](https://gitee.com/zmister/mrdoc-desktop-release/releases/ )
- Mobile APP:supportd Android [Download ](https://gitee.com/zmister/mrdoc-app-release )
2020-05-04 21:26:07 +08:00
2021-04-13 07:48:20 +08:00
## Example Site
2021-09-15 21:55:43 +08:00
Open Source Edition - [http://mrdoc.zmister.com ](http://mrdoc.zmister.com )
Professional Edition - [https://doc.mrdoc.pro ](https://doc.mrdoc.pro )
2021-04-13 07:48:20 +08:00
username:test1 password:123456
2021-03-27 22:43:54 +08:00
## Donate
2020-11-28 09:01:00 +08:00
2021-03-27 22:46:59 +08:00
< p align = "center" > Donate a can of Coffee to the author to speed up the development.< / p >
2021-03-27 22:43:54 +08:00
< p >
< a href = "https://ko-fi.com/zmister" > Ko-Fi< / a > |
2021-03-27 22:46:59 +08:00
< a href = "https://paypal.me/zmister" > PayPal< / a >
2020-11-28 09:01:00 +08:00
< / p >
2021-06-04 08:30:52 +08:00
< p align = "center" >
< img src = "http://mrdoc.zmister.com/media/202106/dashang_wxwebp_1622762424.jpg" height = 200 >
< img src = "http://mrdoc.zmister.com/media/202106/dashang_alipaywebp_1622762435.jpg" height = 200 >
< img src = "http://mrdoc.zmister.com/media/202106/dashang_qqwebp_1622762444.jpg" height = 200 >
< / p >
2021-03-27 22:43:54 +08:00
## Feature
2020-11-28 09:01:00 +08:00
2021-03-27 22:43:54 +08:00
- **Site Manage & User Manage**
- Support user registration, login, management, administrator and other basic user functions;
- Support site configuration registration invitation code, advertising code, statistics code, email retrieval password, site wide close registration, site wide forced login and other management functions;
- It supports the configuration of the permission of the Project, and provides four permission modes: public, private, visible to the specified user and visible to the access code;
- **Document System**
- Document writing and reading are based on the Project, with five modules, namely **project** , **document** , **document template** , **image** and **attachment** ;
- The `markdown` editor based on `editormd` and `vditor` is used to optimize and extend, and the `markdown` syntax is used for document writing, and image management and uploading, table pasting, mind mapping, flow chart drawing and sequence diagram drawing are supported;
- Two column **document reading** page, three-level directory level display, document reading font scaling, font type switching, page social sharing, mobile reading optimization, text collection export PDF, ePub file;
- Support the account based `API` interface, which can use the account `token` to get the corpus, upload pictures and create documents through the 'API';
- Supports the project collaboration function. A project can have one Creator and multiple collaborators, and can flexibly select collaboration permissions;
- It supports the function of document historical version to view and compare the differences between the historical version and the existing version, and restore a historical version to the current version;
Update Record : [CHANGES.md ](./CHANGES.md )
## Simple Installation Tutorial
### 1. install dependent modules
2019-12-08 18:59:49 +08:00
```
pip install -r requirements.txt
```
2021-03-27 22:43:54 +08:00
### 2. Initialize database
2020-03-29 20:48:02 +08:00
2021-03-27 22:43:54 +08:00
After installing the required third-party library and configuring the database information, we need to initialize the database.
2019-12-08 18:59:49 +08:00
2021-03-27 22:43:54 +08:00
Open the command line interface under the project path and run the following command to generate the database migration:
2020-05-08 21:34:00 +08:00
```
python manage.py makemigrations
```
2021-03-27 22:43:54 +08:00
Run the following command to perform database migration:
2020-05-08 21:34:00 +08:00
2019-12-08 18:59:49 +08:00
```
2020-05-08 21:34:00 +08:00
python manage.py migrate
2019-12-08 18:59:49 +08:00
```
2021-03-27 22:43:54 +08:00
After execution, the database is initialized.
### 3. Create Super User
After initializing the database, you need to create an administrator account to manage the whole mrdoc. Open the command line terminal in the project path and run the following command:
2019-12-08 18:59:49 +08:00
```
python manage.py createsuperuser
```
2020-10-17 08:29:19 +08:00
2021-03-27 22:43:54 +08:00
Follow the prompts to enter the user name, email address and password.
### 4、Test Running
2019-12-08 18:59:49 +08:00
2021-03-27 22:43:54 +08:00
After completing the above steps, you can run and use mrdoc.
In the test environment, you can use the server provided by Django to run mrdoc. The command is:
2020-05-08 21:09:53 +08:00
2019-12-08 18:59:49 +08:00
```
python manage.py runserver
```
2019-07-10 22:03:55 +08:00
2021-11-03 13:42:25 +08:00
2022-01-08 10:22:12 +08:00
## Third deployment tools
2021-11-03 13:42:25 +08:00
2022-01-08 10:22:12 +08:00
- [Docker Image ](https://hub.docker.com/r/zmister/mrdoc )
- [Docker Image By jonnyan404 ](https://registry.hub.docker.com/r/jonnyan404/mrdoc-nginx )
2021-11-03 13:42:25 +08:00
- [Linux Deployment Script ](https://gitee.com/jonnyan404/oh-my-mrdoc )
2022-01-08 10:22:12 +08:00
- [Windows Deployment Pannel By 小肥羊 ](https://gitee.com/debj031634/win-django )
2022-02-11 14:04:53 +08:00
- [VirtualBox/VmWare Image By 无名 ](https://gitee.com/nicktf/tinycore-mrdoc )
2021-03-27 22:43:54 +08:00
## Feedback
### 1. Commit Issue
Submit questions on the following pages:
- [https://gitee.com/zmister/MrDoc/issues ](https://gitee.com/zmister/MrDoc/issues )
- [https://github.com/zmister2016/MrDoc/issues ](https://github.com/zmister2016/MrDoc/issues )
### 2. Join the mrdoc communication group
2021-08-21 09:52:54 +08:00
Join the mrdoc communication Tencent QQ group , Group number:
2021-11-03 13:42:25 +08:00
- **735507293**
2021-08-21 09:52:54 +08:00
- **849206042**
2020-04-11 22:14:27 +08:00
2021-03-27 22:43:54 +08:00
### 3. Contact author
2020-05-16 21:27:00 +08:00
2021-03-27 22:43:54 +08:00
WeChat Subscription : **zmister2016**
2020-04-11 22:14:27 +08:00
2022-03-31 12:24:07 +08:00
< p align = "center" >
< img src = "https://doc.mrdoc.pro/media/202203/20220331121926_20220331122015390193.png" height = "50%" >
< / p >
2021-03-27 22:43:54 +08:00
## Dependent
2021-02-01 07:49:36 +08:00
2021-03-27 22:43:54 +08:00
Thanks for the development based on the following projects:
2021-02-01 07:49:36 +08:00
- Python
- Django
- Jquery
- LayUI
- PearAdminLayui
- Editor.md
- Marked
- CodeMirror
- Echarts
- Viewer.js
- Sortable.js
- Vditor
2021-08-19 10:25:49 +08:00
- TinyMCE
2021-02-01 07:49:36 +08:00
2021-03-27 22:43:54 +08:00
## License
2020-06-28 20:48:46 +08:00
2021-08-30 20:39:56 +08:00
< a href = "./LICENSE" > GPL-3.0< / a >
Business License Contact:zmister@qq.com