I come from PHP land where you can use PHP Composer to install dependencies automatically. Glad to figure out how to use Python's version with the requirements.txt. I wish that tutorials would put this at the beginning.
then, I copied out all the dependancies that I had installed myself and put them in my requirements.txt file at the base of your project (like the composer.json). Here is a sample of my requirements.txt
Django==4.0.4 django-browser-reload==1.3.0 django-light==0.1.0.post3 django-taggit==2.1.0 django-tailwind==3.1.1 mysqlclient==2.1.0 Pillow==9.1.0 django-environ==0.8.1
pip3 install -r requirements.txt
I store my .env-sample file in my /mysite directory. So, next I need to copy that file and then put in the environment variable settings. Then I am ready to run the local server.
This is a password protected section available to those who know me in some fashion. If you know me and you do not already have a login, you can request a login here.
I am nuts about books. I read on all kinds of topics. I attempt to review each book I read for the sake of my own enrichment as well as conversation starters with others.
You never know what you will find in an attic! Usually there is a hodgepodge of things buried under dust.