I created the project "personal_portfolio" in the folder "myproject", which is a django app/project
We used $ python3 -m venv venv to create the virtual environment, but that's already been done, so to activate it we now have to do venv\Scripts\activate.bat --> because we're on Windows 10 rather than on Linux
To activate venv:
cd myproject
venv\Scripts\activate.bat
Then we need to install django, which has already been done on this venv
Now we need to move into the personal"_portfolio" folder inside the myproject venv and execute this command:
django-admin startproject personal_portfolio
https://realpython.com/get-started-with-django-1/
Here's what we have to do to get the directory open:
(This assumes that the directory is C:\Users\droid\myproject\personal_portfolio, with "droid" being your username for your windows 10 device):
cd myproject cd personal_portfolio
https://acord.software/stellarios/python-discussion
https://github.com/Gizmotronn/python-learning/issues/23
I created the project "personal_portfolio" in the folder "myproject", which is a django app/project
We used
$ python3 -m venv venv
to create the virtual environment, but that's already been done, so to activate it we now have to dovenv\Scripts\activate.bat
--> because we're on Windows 10 rather than on LinuxTo activate venv: cd myproject venv\Scripts\activate.bat
Then we need to install django, which has already been done on this venv
Now we need to move into the
personal"_portfolio"
folder inside the myproject venv and execute this command:django-admin startproject personal_portfolio
cd personal_portfolio
Then
python manage.py runserver
https://github.com/realpython/materials/tree/a639f1c2f85032334fbb4dca88f3e8dc88397f6d/rp-portfolio
https://www.google.com/search?rlz=1C1CHBF_en-GBAU885AU885&sxsrf=ALeKk03EZHohZl6KD8Sn2siu7IqcRjsIMA%3A1591516257995&ei=YZzcXuKkPNCD4-EP9ci5mAc&q=%22django%22+and+raspberry+pi+robot&oq=%22django%22+and+raspberry+pi+robot&gs_lcp=CgZwc3ktYWIQAzIECCMQJzoHCAAQRxCwA1CaNVilOmCPPGgBcAB4AIAB2wGIAbUDkgEDMi0ymAEAoAEBqgEHZ3dzLXdpeg&sclient=psy-ab&ved=0ahUKEwii2diJnO_pAhXQwTgGHXVkDnMQ4dUDCAw&uact=5
Commit part 1
Co-Authored-By: Liam Arbuckle liam@acordsoftware.tech