-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathINSTALL.txt
67 lines (43 loc) · 1.95 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Installation
============
Installing an official release
------------------------------
Official releases are made available from
http://code.google.com/p/django-tagging/
Remember run the command ``manage.py syncdb`` after installation
Source distribution
~~~~~~~~~~~~~~~~~~~
Download the .zip distribution file and unpack it. Inside is a script
named ``setup.py``. Enter this command::
python setup.py install
...and the package will install automatically.
Windows installer
~~~~~~~~~~~~~~~~~
A Windows installer is also made available - download the .exe
distribution file and launch it to install the application.
An uninstaller will also be created, accessible through Add/Remove
Programs in your Control Panel.
Installing the development version
----------------------------------
Alternatively, if you'd like to update Django Tagging occasionally to pick
up the latest bug fixes and enhancements before they make it into an
official release, perform a `Subversion`_ checkout instead. The following
command will check the application's development branch out to an
``tagging-trunk`` directory::
svn checkout http://django-tagging.googlecode.com/svn/trunk/ tagging-trunk
Add the resulting folder to your `PYTHONPATH`_ or symlink (`junction`_,
if you're on Windows) the ``tagging`` directory inside it into a
directory which is on your PYTHONPATH, such as your Python
installation's ``site-packages`` directory.
You can verify that the application is available on your PYTHONPATH by
opening a Python interpreter and entering the following commands::
>>> import tagging
>>> tagging.VERSION
(0, 3, 'pre')
Once you've installed Django Tagging and want to use it in your Django
applications, do the following:
1. Put ``'tagging'`` in your ``INSTALLED_APPS`` setting.
2. Run the command ``manage.py syncdb``.
The ``syncdb`` command creates the necessary database tables and
creates permission objects for all installed apps that need them.
That's it!