Please install mongo and redis first, and then make sure the python environment is python3.5+. If you do not know how to install mongo, see here
After mongo and redis are installed, enter the project directory and follow the steps.
pip install -r requirements.txt
# run
python server.py
# or
gunicorn --bind 127.0.0.1:8001 --worker-class sanic.worker.GunicornWorker server:ap
v0.1.0
Basic search and analysis functions for novels
Search history
cache
bookshelf
bookmark
Log in
Preliminarily compatible with mobile phones (follow-up follow-up)
TODO:
Register (Open Registration)
last read
Latest chapter
Recommended by book friends (very basic recommendation)
Directory acquisition
Turn the page
Search ranking
Rewrite some pages
Ranking list
Reading list
recommend
olllook uses the following third-party packages:
sanic: asynchronous web server based on Python 3.5+
sanic_session: sanic’s persistent session plug-in
uvloop: sanic uses uvloop by default, replacing asyncio's own loop
motor: asynchronous mongodb driver
?Jinja2: python-based template engine
aiohttp: asynchronous request
aiocache: asynchronous cache, this project uses the decorator part instead, and the cache database uses redis
caddy: Go-based web server
...See requirements.txt for more, thanks to the developer.
web framework
bootstrap: Sleek, intuitive, and powerful front-end framework for faster and easier web development.
mdui: MDUI is a front-end framework based on Material Design