Breaking News

New Updates

story 2023

as per the django documentation 4.2 installing tuModules

django project new project name as StoryApp

Basic steps:

  1. Install pip- Open command prompt and enter following command:-
  2. python -m pip install -U pip
    

    Check the version of python:

    py --version
    

  3. Setting up a virtual environment ¶
  4. py -m venv todoenv
    

    To activate the environment, run: ()

    todoenv\Scripts\activate.bat
    

    Outher option

  5. Install django
  6.  py -m pip install django
    
    if you want "Colored terminal output"

  7. Start a project by following command-
    1. Create a virtual environment by giving this command in cmd-
    2. virtualenv env_site
    3. Change directory to env_site by this command-
    4. cd env_site
    5. Go to Scripts directory inside env_site and activate virtual environment-
    6. cd Scripts

      activate

    7. install pillo
    8. pip install Pillow   
      

      when you alredy installed lowest version of pullow, you shoulf installing befor unstall

      pip uninstall Pillow   
      

    cd geeks_site
    
    python manage.py runserver
    

No comments