Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Harry-Chen/TrivialNews-Server
Server for TrivialNews, a project of Java course in Tsinghua University, Summer 2018
https://github.com/Harry-Chen/TrivialNews-Server
Last synced: 3 months ago
JSON representation
Server for TrivialNews, a project of Java course in Tsinghua University, Summer 2018
- Host: GitHub
- URL: https://github.com/Harry-Chen/TrivialNews-Server
- Owner: Harry-Chen
- License: gpl-3.0
- Created: 2018-09-06T15:24:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T14:32:14.000Z (over 6 years ago)
- Last Synced: 2024-08-03T01:38:32.175Z (6 months ago)
- Language: Python
- Size: 43.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TrivialNews-Server
This is server for TrivialNews, a project of Java course in Tsinghua University, Summer 2018.
The project is licensed under GPLv3.
## Run server
Requirements:
* Python 3.7.0+
* MongoDB 3.0+
* PyPI packages, including:
* arrow
* bson
* flask
* jieba
* pymongo
* pytz
* requests
* feedparserThen run:
`python -m flask run`
You should also run scipts in `preprocessing` to update the database periodically, using a relatively short interval, 5 minutes for example.