0%

常用命令

包括Hexo、Django等

Django常用命令

python manage.py makemigrations
python manage.py migrate
python manage.py runserver
python manage.py createsuperuser
python manage.py collectstatic

Hexo常用命令

文档:https://hexo.io/zh-cn/docs/

新建文章:

hexo new page --path _posts/Hexo/hexo-commands "Hexo常用命令"

生成静态文件和上传:

hexo g -d

本地运行:

hexo s --debug