From 6e100a1a1a0ea4c2ed29606444eab8c355bccf79 Mon Sep 17 00:00:00 2001 From: baoliang Date: Thu, 20 Aug 2020 16:19:46 +0800 Subject: [PATCH] add migrate comment --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 44404d2..fe7d3e3 100644 --- a/README.md +++ b/README.md @@ -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 ``` \ No newline at end of file