Install Django and Python on Windows 3 of 7 Start Project & Env From Scratch

preview_player
Показать описание


Install Django and Python On Windows (Episode 4 of 7)
Start Project & Virtual Env From Scratch

Complete Summary of starting a new Django project from scratch using a virtual environment on a Windows.

Install Django and Python on Windows Links:

Django Installation Process:
1) Download Python & PIP
3) Setup Environment variables in Windows System Settings under Advanced Settings:
4) Install Virtual environment "pip install virtualenv"
5) Create virtualenv and activate:
virtualenv somename
cd somename
.\Scripts\activate
6) Install Django:
pip install django==1.X.Y (replace x and y for version numbers)
7) Start django project:

The Coding For Entrepreneurs newsletter has news and updates about all things Coding for Entrepreneurs:

A few ways to learn:

On Udemy:

Bestselling Udemy Coding for Entrepreneurs Course:

MatchMaker and Geolocator Course:

Marketplace & Dail Deals Course:

Free Udemy Course (40k+ students):

Рекомендации по теме
Комментарии
Автор

if "python manage.py syncdb" doesn't work use "python manage.py migrate" then "python manage.py createsuperuser"

TheRealDanNguyen
Автор

Your videos are very good. They're helping me a lot. Im gonna start to learn Django !

Joustering
Автор

Thank you for all the videos! Amazing work! Helped me a lot with installing django! :) I have a question though - how can I open already existing project in Django? I have it in a folder on my desktop but I don't know how exactly to run it in the console.... :(

GrBr
Автор

Should we do the step ->   pip install django    <-  every time we set up a new virtual environment ? CodingEntrepreneurs  ????

vetriselvi
Автор

Interesting! You are a good teacher. Thank you.

gbsnigeria
Автор

Hello sir, Do you have to pip install django everytime you create a new project? 

gdsn
Автор

very nice tutorial dude, I learned a lot from your videos,

leonard
Автор

for every new project, do we have to install django??

rupeshgupt
Автор

You have to use python manage.py migrate instead rather than python manage.py syncdb after django 1.7

georgetzinos
Автор

Dude, this is phenomenal. I really appreciate this video 'cuz i don't have to lose time again and again and watch those two you made before this1. Thank you. Wish you all the best

And I wish you use Linux :/ ...

invaden
Автор

I used Dan Nguyen's suggestion and it worked. Cool. However, python manage.py syncdb still does not work. How do I create the database for my project? Sorry if this is a dumb question. I'm pretty new to this. Thanks.

novicetech
Автор

do i have to do this everytime to open the project??

Zzzzzzzzzzzzzzzzzzzzr
Автор

can anyone help when i log in as admin on the web page i receive a error saying "OperationalError at /admin/login/" can this be fixed

mutsa
Автор

Question. How can i open my page again, do i to start to the beginning?

gonzalovasquez
Автор

Should we do the step ....  pip install django  every time we set up a new virtual environment ? CodingEntrepreneurs  ????

vetriselvi
Автор

Do we need to install django for every new virtual environment/project we create??

joelkatusiime
Автор

do I need Mysql? because I can't see Installing custom SQL

Alemax
Автор

I am at 1:43 and when I type python manage.py syncdb it shows"python manage.py syncdb
python: can't open file 'manage.py': [Errno 2] No such file or directory". What have I done wrong?

IsmailPbx
Автор

Fatal error in launcher: Unable to create process using '"' .... this comes when i create virtual environment using virtualenv venv please tell me why?
how to fix it!

mohansinghrawat
Автор

When I run" python .\Scripts\django-admin.py startproject test_project_new, I get [Errono 2] No such file or directory. Please advise. Thanks.

novicetech