| | 1 | = How to install = |
|---|
| | 2 | 1. First make sure you got the [http://www.djangoproject.com Django] framework set up correctly. |
|---|
| | 3 | 2. Check out the DjangoID sources from [http://svn.nicolast.be/djangoid Subversion], eg using |
|---|
| | 4 | {{{ |
|---|
| | 5 | svn co http://svn.nicolast.be/djangoid/trunk/djangoid |
|---|
| | 6 | }}} |
|---|
| | 7 | 3. Edit settings.py to fit your needs. |
|---|
| | 8 | 4. Sync your database and add a user (let's call this user "john") using |
|---|
| | 9 | {{{ |
|---|
| | 10 | python manage.py syncdb |
|---|
| | 11 | }}} |
|---|
| | 12 | 5. Browse to http://your-install.tld/admin and log in (as "john" that is). |
|---|
| | 13 | 6. (Optional) If the username you want to use is not the admin one you created before, create a new Django user. Beware, currently there's no custom login view yet. |
|---|
| | 14 | 7. Create a new DjangoidUser object, using the exact same username as the one in the Django system: "john" (this is pretty important for now). |
|---|
| | 15 | 8. If all goes well, you should be able to use "http://your-install.tld/john/" as an OpenID URI now. |
|---|
| | 16 | 9. If you want to use some other URI, browse to "http://your-install.tld/john/", take a look at the source of that page, and copy-paste the link and meta tag in the head section to the head section of (the index page of) the URI you want to use. |
|---|
| | 17 | |
|---|
| | 18 | That should be it for now! |