add migrate comment
This commit is contained in:
parent
2abc988f16
commit
6e100a1a1a
12
README.md
12
README.md
|
@ -5,4 +5,16 @@ pip install -r requirements.txt
|
||||||
|
|
||||||
pip install git+https://github.com/RobWeber3/django-token.git
|
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
|
||||||
```
|
```
|
Loading…
Reference in New Issue