newmediamonitoring/README.md

26 lines
485 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# install
```shell
pip install -r requirements.txt
pip install git+https://github.com/RobWeber3/django-token.git
```
# migrations
不要在本机上做make migrations 和migrate
```shell
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 内存使用情况
```shell
sudo /usr/sbin/passenger-memory-stats
```