baoliang 3ea33ec78e | ||
---|---|---|
NewMediaMonitoring | ||
dashboard | ||
management | ||
media | ||
monitor | ||
polls | ||
static | ||
.gitignore | ||
README.md | ||
db.sqlite3 | ||
fabfile.py | ||
fabfile.pyc | ||
import_area.py | ||
manage.py | ||
passenger_wsgi.py | ||
requirements.txt |
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