Merge branch 'fix-gitignore'

This commit is contained in:
janeczku 2016-04-21 23:14:05 +02:00
commit 5d6f18f4c3
4 changed files with 21 additions and 13 deletions

20
.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# Distribution / packaging
.Python
env/
eggs/
.eggs/
*.egg-info/
.installed.cfg
*.egg
# calibre-web
*.db
*.log
config.ini

View File

@ -1,12 +0,0 @@
[General]
DB_ROOT =
APP_DB_ROOT =
MAIN_DIR =
LOG_DIR =
PORT = 8083
NEWEST_BOOKS = 60
[Advanced]
TITLE_REGEX = ^(A|The|An|Der|Die|Das|Den|Ein|Eine|Einen|Dem|Des|Einem|Eines)\s+
DEVELOPMENT = 1
PUBLIC_REG = 0
UPLOADING = 1

View File

@ -25,7 +25,7 @@ Also available as [Docker image](https://registry.hub.docker.com/u/janeczku/cali
## Quick start ## Quick start
1. Open config.ini and set DB_ROOT to the path of the folder where your Calibre library (metadata.db) lives 1. Rename `config.ini.example` to `config.ini` and set DB_ROOT to the path of the folder where your Calibre library (metadata.db) lives
2. To enable public user registration set PUBLIC_REG to 1 2. To enable public user registration set PUBLIC_REG to 1
3. To enable uploading of PDF books set UPLOADING to 1 3. To enable uploading of PDF books set UPLOADING to 1
4. Execute the command: `python cps.py` 4. Execute the command: `python cps.py`