Add README.md

This commit is contained in:
t510599 2020-06-26 22:43:06 +08:00
parent 70d91723b2
commit 2a96c8d61a
Signed by: t510599
GPG Key ID: D88388851C28715D

37
README.md Normal file
View File

@ -0,0 +1,37 @@
# epub_convert
Online Version: https://epub.stoneapp.tech/
## Requirements
- Python 3.6 or newer
## Libraries
- Flask >= 0.13.0
- OpenCC
- TocasUI
- axios
## Usage
- command line
```bash
$ python convert.py <epub>
```
- development web server
```bash
$ python web.py
```
- apache `mod_wsgi`
```apache
<VirtualHost *:80>
ServerName domain.name
WSGIDaemonProcess appname user=user1 group=group1 threads=5
WSGIScriptAlias / /location/to/folder/web.wsgi
Alias /static /location/to/folder/static
<Directory "/location/to/folder">
Require all granted
</Directory>
</VirtualHost>
```