Go to file
Bob 168c5b7f41 #新媒体舆情 2020-08-29 10:27:51 +08:00
NewMediaMonitoring #新媒体舆情 2020-08-29 10:21:12 +08:00
dashboard #新媒体舆情 2020-08-29 10:21:12 +08:00
management #用户登录、数据库修改 2020-08-23 12:06:04 +08:00
media #用户登录、数据库修改 2020-08-23 12:06:04 +08:00
monitor #用户登录、数据库修改 2020-08-26 09:58:16 +08:00
polls #新媒体舆情 2020-08-29 10:23:02 +08:00
static #新媒体舆情 2020-08-26 09:59:17 +08:00
.gitignore fixed untracked files 2020-08-20 15:38:42 +08:00
README.md move mod_wsgi to passenger_wsgi 2020-08-24 22:35:47 +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 move mod_wsgi to passenger_wsgi 2020-08-24 22:35:47 +08:00
requirements.txt #新媒体舆情 2020-08-29 10:27:51 +08:00

README.md

install

pip install -r requirements.txt

pip install git+https://github.com/RobWeber3/django-token.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