(2). 把 django 项目整个传到树莓派上,项目根目录(manage.py 同级目录)下的全部文件全部复制到树莓派项目目录,复制之后,情况大概是这样: (venv) pi@raspberrypi:~/www/demo $ ls demo guestbook manage.py requirements.txt venv (3). 安装扩展库,记住在激活的环境下执行,命令行如下: pip3 install -r requ...
sudo apt install python3 python3-venv python3-pipCopy Configuring Apache for Django With both the Apache and Python software installed to our Raspberry Pi, let us now configure it all to run Django. This configuration won’t work quite yet as we still need to get Django installed. 5. Let...