Go to file
Bob e3f30f9562 Merge remote-tracking branch 'origin/master' 2020-10-05 10:16:33 +08:00
NewMediaMonitoring #qq 2020-09-24 14:37:12 +08:00
dashboard Merge remote-tracking branch 'origin/master' 2020-09-30 20:30:02 +08:00
graph Merge branch 'master' of http://210.77.77.77/xieshen/newmediamonitoring 2020-09-18 14:42:55 +08:00
management #监测 2020-10-05 10:13:30 +08:00
media add jsonwebsocket 2020-09-22 15:39:33 +08:00
monitor #监测 2020-10-05 10:13:30 +08:00
polls add message 2020-10-04 23:09:07 +08:00
static #qq 2020-09-26 16:31:21 +08:00
.DS_Store add feature 2020-09-10 01:21:45 +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
fabfile.py #新媒体管理 2020-08-20 11:34:37 +08:00
fabfile.pyc fixed untracked files 2020-08-20 15:38:42 +08:00
import_area.py fixed untracked files 2020-08-20 15:38:42 +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 #qq 2020-09-26 12:14:56 +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