If Python is installed, you will get a result with the version number, like this:python --version
If you find that you do not have Python installed on your computer, then you can download it for free https://www.python.org/. and install on your machine. If you already have an installed Python skip this step.Python 3.9.2
If PIP is installed, you will get a result with the version number. For me, on a windows machine, the result looks like this:pip --version
If you do not have PIP installed, you can download and install it from this page https://pip.pypa.io/en/stable/installation/. If you already have an installed Pip skip this step.pip 20.2.3 from c:\python39\lib\site-packages\pip (python 3.9)
npm i or npm install
npm run build
This command will create a production-ready css,js and other assets of your project in a dist directory, From where we are serving the assets to django server.
py -m venv myenv
python -m venv myenv
myenv\Scripts\activate.bat
source myenv/bin/activate
(myenv) C:\Users\Your Name>
(myenv) ... $
pip install -r requirements.txt
This command will install all dependencies in newly created venv.
py manage.py runserver
This command will start the development server, allowing you to view and work on your project locally.