Skip to content

Commit

Permalink
Merge remote-tracking branch 'use_pip/use-pip'
Browse files Browse the repository at this point in the history
# Conflicts:
#	cps.py
#	readme.md
#	vendor/wand/api.py
#	vendor/wand/drawing.py
#	vendor/wand/exceptions.py
#	vendor/wand/image.py
#	vendor/wand/version.py
  • Loading branch information
OzzieIsaacs committed Mar 7, 2017
2 parents 72ec9a9 + 98041c6 commit acac057
Show file tree
Hide file tree
Showing 1,728 changed files with 32 additions and 315,907 deletions.
8 changes: 6 additions & 2 deletions cps/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
from sqlalchemy import __version__ as sqlalchemyVersion
from math import ceil
from flask_login import LoginManager, login_user, logout_user, login_required, current_user
from flask_login import __version__ as flask_loginVersion
from flask_principal import Principal, Identity, AnonymousIdentity, identity_changed
from flask_login import __version__ as flask_principalVersion
from flask_principal import __version__ as flask_principalVersion
from flask_babel import Babel
from flask_babel import gettext as _
import requests
Expand Down Expand Up @@ -48,6 +47,11 @@
from tornado.ioloop import IOLoop
from tornado import version as tornadoVersion

try:
from flask_login import __version__ as flask_loginVersion
except ImportError, e:
from flask_login.__about__ import __version__ as flask_loginVersion

try:
from wand.image import Image

Expand Down
26 changes: 14 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
##About
## About

Calibre Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing [Calibre](https://calibre-ebook.com) database.

*This software is a fork of [library](https://github.com/mutschler/calibreserver) and licensed under the GPL v3 License.*

![screenshot](https://raw.githubusercontent.com/janeczku/docker-calibre-web/master/screenshot.png)

##Features
## Features

- Bootstrap 3 HTML5 interface
- full graphical setup
- User management
Expand All @@ -28,13 +29,14 @@ Calibre Web is a web app providing a clean interface for browsing, reading and d

## Quick start

1. Execute the command: `python cps.py` (or `nohup python cps.py` - recommended if you want to exit the terminal window)
2. Point your browser to `http://localhost:8083` or `http://localhost:8083/opds` for the OPDS catalog
3. Set `Location of Calibre database` to the path of the folder where your Calibre library (metadata.db) lives, push "submit" button
4. Go to Login page
1. Install required dependencies by executing `pip install -r requirements.txt`
2. Execute the command: `python cps.py` (or `nohup python cps.py` - recommended if you want to exit the terminal window)
3. Point your browser to `http://localhost:8083` or `http://localhost:8083/opds` for the OPDS catalog
4. Set `Location of Calibre database` to the path of the folder where your Calibre library (metadata.db) lives, push "submit" button
5. Go to Login page

**Default admin login:**
*Username:* admin
**Default admin login:**
*Username:* admin
*Password:* admin123

## Runtime Configuration Options
Expand All @@ -56,10 +58,10 @@ Tick to enable uploading of PDF, epub, FB2. This requires the imagemagick librar
## Requirements

Python 2.7+

Optionally, to enable on-the-fly conversion from EPUB to MOBI when using the send-to-kindle feature:

[Download](http://www.amazon.com/gp/feature.html?docId=1000765211) Amazon's KindleGen tool for your platform and place the binary named as `kindlegen` in the `vendor` folder.
Optionally, to enable on-the-fly conversion from EPUB to MOBI when using the send-to-kindle feature:

[Download](http://www.amazon.com/gp/feature.html?docId=1000765211) Amazon's KindleGen tool for your platform and place the binary named as `kindlegen` in the `vendor` folder.

## Docker image

Expand Down Expand Up @@ -131,4 +133,4 @@ Replace the user and ExecStart with your user and foldernames.

`sudo systemctl enable cps.service`

enables the service.
enables the service.
12 changes: 12 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Babel>=1.3
Flask>=0.11
Flask-Babel==0.11.1
Flask-Login>=0.3.2
Flask-Principal>=0.3.2
iso-639>=0.4.5
PyPDF2==1.26.0
pytz>=2016.10
requests>=2.11.1
SQLAlchemy>=0.8.4
tornado>=4.4.2
Wand>=0.4.4
File renamed without changes.
22 changes: 0 additions & 22 deletions vendor/LICENSE_flask_login

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/LICENSE_flask_principal

This file was deleted.

31 changes: 0 additions & 31 deletions vendor/LICENSE_itsdangerous

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/PyPDF2/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion vendor/PyPDF2/_version.py

This file was deleted.

Loading

0 comments on commit acac057

Please sign in to comment.