Django

Starting Django
Steps for ubuntu 18.04
Install Python3.8
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
tar xzvf Python-3.8.0.tgz
cd Python-3.10.0
./configure
make
sudo make install
python3 --version
Create virtual env
mkdir Django_Python
cd Django_Python
python3 -m venv venv
source venv/bin/activate
Install Django
pip3 install Django
python3 -m django

Create Project and Run the Django in Local Server
python3 -m django startproject <name_of_project>
cd <name_of_project>
python3 manage.py runserver


pontu
0
Tags :