add migrate comment

This commit is contained in:
baoliang 2020-08-20 16:19:46 +08:00
parent 2abc988f16
commit 6e100a1a1a
1 changed files with 12 additions and 0 deletions

View File

@ -5,4 +5,16 @@ 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
```