-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
46 lines (32 loc) · 1.13 KB
/
INSTALL
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
TracDjangoAuth
Trac Authentication against Django's userdb
(c) 2011 Ville Korhonen <[email protected]>
INSTALL
=======
- NB: TracAccountManager plugin is REQUIRED
- NB: Working Django installation is REQUIRED
Loading Django modules fails if DJANGO_SETTINGS_MODULE
environment variable is not set refer to mod_python/
mod_wsgi/tracd/<put your webserver here> manual on how
to set environment variables on your system.
Your Django project should be in PYTHONPATH.
Installing package:
===================
- pip install TracDjangoAuth
OR
- easy_install TracDjangoAuth
OR
- download TracDjangoAuth archive, unzip, python setup.py install
OR python setup.py bdist_egg and copy dist/*.egg to
plugins -directory inside your Trac environment
Configuration:
==============
Edit trac.ini:
[components]
tracdjangoauth.auth_django.djangopasswordstore = enabled
acct_mgr.web_ui.loginmodule = enabled
trac.web.auth.loginmodule = disabled
[account-manager]
password_store = DjangoPasswordStore
require_group = Trac ; optional, to which Django group user
; must belong to be authenticated