Skip to content

Instantly share code, notes, and snippets.

@flegoff
Created September 25, 2013 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flegoff/6699094 to your computer and use it in GitHub Desktop.
Save flegoff/6699094 to your computer and use it in GitHub Desktop.
django FR virtualenv

Comment faire tourner le serveur

Installer virtualenv

Dans un terminal :

$ sudo easy_install virtualenv

Créer ton virtualenv

$ virtualenv ~/venv/site-ubinect

Utiliser ton virtualenv

$ source ~/venv/site-ubinect/bin/activate

Installer django

$ pip install -r requirements.txt

Faire tourner le serveur (méthode courante)

$ source ~/venv/site-ubinect/bin/activate $ cd "repertoire_avec_git" && python manage.py runserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment