soul-manga
Gunicorn and Fabric’s Python management deployment tools were used when we built our own automated deployment
The installation
Prerequisites Node. js, python3
Install JS dependencies
npm install
Installing Python dependencies
pip install -r requirements.txt
Start the Flask Server
cd server
python web_server.py
Start the react
npm start
Visit localhost:3000 over…..
About scrapy
Soul_manga_spider. py defines three fetching methods, with REQ_TYPE corresponding to different URL types: single comic, all comic on a single page, and all comic. There is also an is_update parameter that indicates whether only the most recently updated page URL is fetched and then incremental updates are made. The default value is_update is false, and REQ_TYPE is default, which means nothing. By default, I’ll use the db I’ve already fetched. The LOG_LEVEL and LOG_FILE of setting.py are adjusted as required
Mobile terminal is not supported
Source:Github.com/fyxtc/soul-…If it is helpful to you, I hope you can give a STAR O(∩_∩)O~~
Write in the last
I wrote it last year and built it while learning React. Oh no, I learned react because I wanted to write a comic book station. Flask used it for the first time. I recently turned it out and looked at it, hoping to give some help to those who want to learn. Now think about when writing this website, from looking for picture material to design to write code to deploy, that acid cool… Reasonable design is really a consumption of ideas, how to think about how will be interesting, this I really very attentively to do, like their own children ~~ ha ha, feel the website completely exposed their own in the two attributes =.=