Monday, February 26, 2018

Re: How to install and use Django



On Friday, February 9, 2018 at 3:58:19 AM UTC+5:30, Inderjeet Kaur wrote:
Hi 

    I am new to Django. can anyone please help me with installation and starting a project. Does Django have IDE like dreamweaver or Visual studio to design a website?
I have installed Python 3.6 on my Windows machine. Also I have downloaded and installed Django files at location C:\Users\Vismaad\Documents\Django-2.0.2\build\lib\django.

   I have no idea how to move ahead. What are Django-admin-tools?

Thanks!



Hii Indrajeet,
                    You can use virtual environment which would help you to separate your project from the rest of the project working on your computer and is highly recommended.
                     make a directory on your desktop(mkdir {name of the folder})
                     cd (name of the folder)
                     virtualenv .  (creates a virtual enviroment)
                     source bin/activate (activates the virtualenv)
                     pip install django (downloads the latest version of django)
                     pip install django==(specific version if you want to download)
                     ls(shows one manage.py file)
                     python manage.py runserver generates your first django powered page.




 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/de4f6ed8-702f-4405-803d-0324a4e846ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment