django博客
Posted at
# blog
django博客
后端
地址:
https://gitee.com/xiejava/ishareblog.git
命令
python -m venv venv
windows
venv\Scripts\activate
linux
source venv/bin/activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
创建超级用户
python manage.py createsuperuser
启动
python manage.py runserver
前端
地址
https://gitee.com/xiejava/Gblog.git
泪的教训,不要用npm,用pnpm
pnpm install
pnpm serve