Go to file
baoliang a29b3b1a1c add message 2021-02-03 11:07:42 +08:00
NewMediaMonitoring #add message 2020-12-17 16:03:34 +08:00
backstage #add message 2021-01-11 21:08:52 +08:00
dashboard fix userprofile level bug 2021-01-26 15:49:57 +08:00
graph Merge branch 'master' of http://210.77.77.77/xieshen/newmediamonitoring 2020-09-18 14:42:55 +08:00
management #add message 2021-01-14 15:18:50 +08:00
media add message 2020-10-27 21:34:46 +08:00
monitor #add message 2021-01-11 21:08:52 +08:00
polls add message 2021-02-03 11:07:42 +08:00
static #add message 2020-10-30 19:36:22 +08:00
新媒体更新脚本 #add message 2021-01-11 21:08:52 +08:00
.DS_Store fix send_tnps bug 2021-01-26 23:33:40 +08:00
.gitignore Merge branch 'master' of http://210.77.77.77/xieshen/newmediamonitoring 2020-09-18 14:52:56 +08:00
README.md add taskaddition 2020-09-18 15:52:06 +08:00
db.sqlite3 #单位管理,群组管理,用户管理 2020-08-13 17:55:52 +08:00
export_user.py #add message 2021-01-11 21:08:52 +08:00
fabfile.py #更换服务器 2020-12-08 21:27:35 +08:00
fabfile.pyc fixed untracked files 2020-08-20 15:38:42 +08:00
get_data_for_mysql_toutiao_article.py #add message 2021-01-07 12:04:02 +08:00
get_data_for_mysql_toutiao_comment.py #add message 2021-01-07 12:04:02 +08:00
get_data_for_mysql_weixin_article.py #add message 2021-01-07 12:04:02 +08:00
import_area.py fixed untracked files 2020-08-20 15:38:42 +08:00
import_newmedia.py #更改数据库 2020-10-15 11:03:23 +08:00
import_organization.py #更改数据库 2020-10-15 09:06:37 +08:00
import_时效性监测.py #add message 2020-11-02 21:51:05 +08:00
import_错别字.py #更改数据库 2020-10-23 08:50:51 +08:00
manage.py fixed untracked files 2020-08-20 15:38:42 +08:00
passenger_wsgi.py fix deloy 2020-09-03 10:55:44 +08:00
requirements.txt #add message 2021-01-06 15:14:57 +08:00
test.py #add message 2021-01-07 12:04:02 +08:00
update_newmedia.py #更换服务器 2020-12-08 21:19:10 +08:00
替换时间戳_toutiao.py #add message 2021-01-07 12:04:02 +08:00
替换时间戳_weixin.py #add message 2021-01-07 12:04:02 +08:00

README.md

install

pip install -r requirements.txt

pip install git+https://github.com/RobWeber3/django-token.git
pip install git+https://github.com/arteria/django-background-tasks.git

migrations

不要在本机上做make migrations 和migrate

cd /home/g214/tools/nmm/NewMediaMonitoring
git pull # enter username && password
source .venv/bin/activate
python manage.py make migrations
python manage.py migrate

查看服务器apache 内存使用情况

sudo /usr/sbin/passenger-memory-stats

eb3e67e892173f14c600cbfa39da053b111e47ff

675063ff1d43f2e897fda5d70bb6c5bea57ce451