diff --git a/ops-coffee-blog/README.md b/ops-coffee-blog/README.md index 036732b..43057a9 100644 --- a/ops-coffee-blog/README.md +++ b/ops-coffee-blog/README.md @@ -14,9 +14,15 @@ pip install -r requirements.txt 2. 初始化数据库 ``` +python manage.py makemigrations ops_coffee python manage.py migrate ``` +创建用户 +``` +python manage.py createsuperuser +``` + 3. 运行项目 ``` python manage.py runserver 0.0.0.0:80