mirror of
				https://github.com/django/django.git
				synced 2025-11-03 05:13:23 +00:00 
			
		
		
		
	Updated docs/topics/install.txt to note github URL instead of code.djangoproject.com
This commit is contained in:
		
							parent
							
								
									226acf35c8
								
							
						
					
					
						commit
						8df8e516ab
					
				
					 1 changed files with 8 additions and 29 deletions
				
			
		| 
						 | 
					@ -279,35 +279,17 @@ Installing the development version
 | 
				
			||||||
If you'd like to be able to update your Django code occasionally with the
 | 
					If you'd like to be able to update your Django code occasionally with the
 | 
				
			||||||
latest bug fixes and improvements, follow these instructions:
 | 
					latest bug fixes and improvements, follow these instructions:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
1. Make sure that you have Subversion_, Git_, or Mercurial_ installed, and
 | 
					1. Make sure that you have Git_ installed and that you can run its commands
 | 
				
			||||||
   that you can run its commands from a shell. (Enter ``svn help``,
 | 
					   from a shell. (Enter ``git help`` at a shell prompt to test this.)
 | 
				
			||||||
   ``git help``, or ``hg help`` at a shell prompt to test this.) Note that
 | 
					 | 
				
			||||||
   the Subversion repository is the canonical source for the official
 | 
					 | 
				
			||||||
   Git and Mercurial repositories and as such will always be the most up-to-date.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
2. Check out Django's main development branch (the 'trunk') like so:
 | 
					2. Check out Django's main development branch (the 'trunk' or 'master') like
 | 
				
			||||||
 | 
					   so:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   .. code-block:: bash
 | 
					   .. code-block:: bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       # Subversion
 | 
					       git clone git://github.com/django/django.git django-trunk
 | 
				
			||||||
       svn co https://code.djangoproject.com/svn/django/trunk/ django-trunk
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
   Mirrors of the Subversion repository can be obtained like so:
 | 
					   This will create a directory ``django-trunk`` in your current directory.
 | 
				
			||||||
 | 
					 | 
				
			||||||
   .. code-block:: bash
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
       # Git (requires version 1.6.6 or later)
 | 
					 | 
				
			||||||
       git clone https://github.com/django/django.git
 | 
					 | 
				
			||||||
       # or (works with all versions)
 | 
					 | 
				
			||||||
       git clone git://github.com/django/django.git
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
       # Mercurial
 | 
					 | 
				
			||||||
       hg clone https://bitbucket.org/django/django
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
   .. warning ::
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        These mirrors should be updated every 5 minutes but aren't guaranteed
 | 
					 | 
				
			||||||
        to be up-to-date since they are hosted on external services.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
3. Next, make sure that the Python interpreter can load Django's code. The most
 | 
					3. Next, make sure that the Python interpreter can load Django's code. The most
 | 
				
			||||||
   convenient way to do this is to `modify Python's search path`_. Add a ``.pth``
 | 
					   convenient way to do this is to `modify Python's search path`_. Add a ``.pth``
 | 
				
			||||||
| 
						 | 
					@ -349,11 +331,8 @@ latest bug fixes and improvements, follow these instructions:
 | 
				
			||||||
    known to cause problems when updating to a more recent version of Django.
 | 
					    known to cause problems when updating to a more recent version of Django.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
When you want to update your copy of the Django source code, just run the
 | 
					When you want to update your copy of the Django source code, just run the
 | 
				
			||||||
command ``svn update`` from within the ``django-trunk`` directory. When you do
 | 
					command ``git pull`` from within the ``django-trunk`` directory. When you do
 | 
				
			||||||
this, Subversion will automatically download any changes. The equivalent
 | 
					this, Git will automatically download any changes.
 | 
				
			||||||
command for Git is ``git pull``, and for Mercurial ``hg pull --update``.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. _Subversion: http://subversion.tigris.org/
 | 
					 | 
				
			||||||
.. _Git: http://git-scm.com/
 | 
					.. _Git: http://git-scm.com/
 | 
				
			||||||
.. _Mercurial: http://mercurial.selenic.com/
 | 
					 | 
				
			||||||
.. _`modify Python's search path`: http://docs.python.org/install/index.html#modifying-python-s-search-path
 | 
					.. _`modify Python's search path`: http://docs.python.org/install/index.html#modifying-python-s-search-path
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue