Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simple OPDS
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Simple OPDS
Commits
99794887
Commit
99794887
authored
Mar 16, 2017
by
Dmitry Shelepnev
Browse files
Options
Downloads
Patches
Plain Diff
Update Version Info and README.md
parent
b652eebf
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-1
5 additions, 1 deletion
README.md
opds_catalog/settings.py
+1
-1
1 addition, 1 deletion
opds_catalog/settings.py
with
6 additions
and
2 deletions
README.md
+
5
−
1
View file @
99794887
#### Simple OPDS Catalog - Простой OPDS Каталог
#### Simple OPDS Catalog - Простой OPDS Каталог
#### Author: Dmitry V.Shelepnev
#### Author: Dmitry V.Shelepnev
#### Версия 0.4
2
#### Версия 0.4
3
#### 1. Простая установка Simple OPDS (используем простую БД sqlite3)
#### 1. Простая установка Simple OPDS (используем простую БД sqlite3)
...
@@ -258,6 +258,10 @@ MySQL по сравнению с sqlite работает гораздо быст
...
@@ -258,6 +258,10 @@ MySQL по сравнению с sqlite работает гораздо быст
python3 manage.py sopds_util load_mygenres
python3 manage.py sopds_util load_mygenres
Только при использовании PostgerSQL. Оптимизация таблицы opds_catalog_book (fillfactor = 50). После этого сканирование происходит значительно быстрее:
python3 manage.py sopds_util pg_optimize
Посмотреть все параметры конфигурации:
Посмотреть все параметры конфигурации:
python3 manage.py sopds_util getconf
python3 manage.py sopds_util getconf
...
...
This diff is collapsed.
Click to expand it.
opds_catalog/settings.py
+
1
−
1
View file @
99794887
...
@@ -7,7 +7,7 @@ from constance import config
...
@@ -7,7 +7,7 @@ from constance import config
loglevels
=
{
'
debug
'
:
logging
.
DEBUG
,
'
info
'
:
logging
.
INFO
,
'
warning
'
:
logging
.
WARNING
,
'
error
'
:
logging
.
ERROR
,
'
critical
'
:
logging
.
CRITICAL
,
'
none
'
:
logging
.
NOTSET
}
loglevels
=
{
'
debug
'
:
logging
.
DEBUG
,
'
info
'
:
logging
.
INFO
,
'
warning
'
:
logging
.
WARNING
,
'
error
'
:
logging
.
ERROR
,
'
critical
'
:
logging
.
CRITICAL
,
'
none
'
:
logging
.
NOTSET
}
NOZIP_FORMATS
=
[
'
epub
'
,
'
mobi
'
]
NOZIP_FORMATS
=
[
'
epub
'
,
'
mobi
'
]
VERSION
=
"
0.4
2
"
VERSION
=
"
0.4
3-dev
"
TITLE
=
getattr
(
settings
,
"
SOPDS_TITLE
"
,
"
SimpleOPDS
"
)
TITLE
=
getattr
(
settings
,
"
SOPDS_TITLE
"
,
"
SimpleOPDS
"
)
SUBTITLE
=
getattr
(
settings
,
"
SOPDS_SUBTITLE
"
,
"
SimpleOPDS Catalog by www.sopds.ru. Version %s.
"
%
VERSION
)
SUBTITLE
=
getattr
(
settings
,
"
SOPDS_SUBTITLE
"
,
"
SimpleOPDS Catalog by www.sopds.ru. Version %s.
"
%
VERSION
)
ICON
=
getattr
(
settings
,
"
SOPDS_ICON
"
,
"
/static/images/favicon.ico
"
)
ICON
=
getattr
(
settings
,
"
SOPDS_ICON
"
,
"
/static/images/favicon.ico
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment