Assuming you have created a virtual env with `virtualenv myvenv`
* activate the virtualenv: `source myvenv/bin/activate`
* install django: `pip install django`
* create a django project: `djang-admin startproject myproject`
* move into that project: `cd myproject`
* create an app for your project: `python manage.py myapp`
* start the django dev server: `python manage.py runserver`
Activating the virtualenv is important.
When myvenv is activated, you use pip and python from myvenv, not from
your system. Everything should be a lot easier if you do that.
Also, you only need to activate the virtualenv for using pip, python
and command installed with pip in the virtualenv. You don't need to
worry about that when editing file.
You need to activate the virtualenv for running pip, django-admin and manage.py.
> --
> 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...@googlegroups.com.
> To post to this group, send email to
django...@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/99957129-04ad-4d5a-9bba-6819fd93e5af%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Cordialement, Coues Ludovic
+336 148 743 42