newmediamonitoring/README.md

26 lines
485 B
Markdown
Raw Normal View History

2020-08-20 07:38:42 +00:00
# install
```shell
pip install -r requirements.txt
pip install git+https://github.com/RobWeber3/django-token.git
2020-08-20 08:19:46 +00:00
```
# 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
2020-08-24 14:35:47 +00:00
```
# 查看服务器apache 内存使用情况
```shell
sudo /usr/sbin/passenger-memory-stats
2020-08-19 16:40:34 +00:00
```