Go to file
baoliang 85a8b0f96e modify userprofile 2020-09-03 17:46:04 +08:00
NewMediaMonitoring change database to nmm 2020-09-03 12:46:34 +08:00
dashboard modify userprofile 2020-09-03 17:46:04 +08:00
management fix deloy 2020-09-03 10:55:44 +08:00
media #用户登录、数据库修改 2020-08-23 12:06:04 +08:00
monitor fix deloy 2020-09-03 10:55:44 +08:00
polls modify userprofile 2020-09-03 17:46:04 +08:00
static merge deploy 2020-09-03 11:02:53 +08:00
.gitignore fixed untracked files 2020-08-20 15:38:42 +08:00
README.md modify userprofile 2020-09-03 17:46:04 +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 remove django_token 2020-09-03 12:07:09 +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

eb3e67e892173f14c600cbfa39da053b111e47ff

675063ff1d43f2e897fda5d70bb6c5bea57ce451