Python编程入门实践实验课,如何记录详细过程?
- 内容介绍
- 文章标签
- 相关推荐
本文共计355个文字,预计阅读时间需要2分钟。
项目3:Web应用程序 + Django入门 + 完整步骤:- 创建虚拟环境:mkdir test_env; cd test_env; python3 -m venv test_env; source test_env/bin/activate (deactivate退出)- 创建Django项目:django-admin startproject test_log- 进入项目目录:cd test_log/- 安装依赖:pip install django
项目3 web应用程序
第18章Django入门
完整步骤:
mkdir test_env
cd test_env/
python3 -m venv test_env
virtualenv test_env
source test_env/bin/activate (deactivate退出)
django-admin startproject test_log
cd test_log/
pip install Django
python manage.py migrate
python manage.py runserver 0.0.0.0:8888
实验的时候遇到几个坑,记录如下:
本文共计355个文字,预计阅读时间需要2分钟。
项目3:Web应用程序 + Django入门 + 完整步骤:- 创建虚拟环境:mkdir test_env; cd test_env; python3 -m venv test_env; source test_env/bin/activate (deactivate退出)- 创建Django项目:django-admin startproject test_log- 进入项目目录:cd test_log/- 安装依赖:pip install django
项目3 web应用程序
第18章Django入门
完整步骤:
mkdir test_env
cd test_env/
python3 -m venv test_env
virtualenv test_env
source test_env/bin/activate (deactivate退出)
django-admin startproject test_log
cd test_log/
pip install Django
python manage.py migrate
python manage.py runserver 0.0.0.0:8888
实验的时候遇到几个坑,记录如下:

