Mercurial > public > madeira
annotate photologue/README.txt @ 118:ddf49209cfc1
Bootstrap: finally commit Bootstrap files. Remove blueprint css files.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 26 Oct 2013 15:27:57 -0500 |
parents | e2868ad47a1e |
children |
rev | line source |
---|---|
bgneal@1 | 1 Installation |
bgneal@1 | 2 |
bgneal@1 | 3 Step 1 - Download Photologue |
bgneal@1 | 4 |
bgneal@1 | 5 Photologue can be downloaded below or from the project page. Older versions are also available from the project page and users who like to live on the edge can checkout a copy of the latest trunk revision. |
bgneal@1 | 6 |
bgneal@1 | 7 Step 2 - Add Photologue To Your Project |
bgneal@1 | 8 |
bgneal@1 | 9 Copy the entire Photologue application folder (the folder named 'photologue' that contains 'models.py') to a location on your Python path such as your project root. Your project root is typically the directory where your 'settings.py' is found. |
bgneal@1 | 10 |
bgneal@1 | 11 Step 3 - Configure Your Settings |
bgneal@1 | 12 |
bgneal@1 | 13 Add 'photologue' to your INSTALLED_APPS setting: |
bgneal@1 | 14 |
bgneal@1 | 15 INSTALLED_APPS = ( |
bgneal@1 | 16 # ...other installed applications, |
bgneal@1 | 17 'photologue', |
bgneal@1 | 18 ) |
bgneal@1 | 19 |
bgneal@1 | 20 Confirm that your MEDIA_ROOT and MEDIA_URL settings are correct. |
bgneal@1 | 21 |
bgneal@1 | 22 If you want to tweak things even more you can also over-ride a few default settings (optional, see documentation for more information on the available settings). |
bgneal@1 | 23 |
bgneal@1 | 24 Step 4 - Register Photologue with the Django Admin |
bgneal@1 | 25 |
bgneal@1 | 26 Add the following to your projects urls.py file: |
bgneal@1 | 27 |
bgneal@1 | 28 from django.contrib import admin |
bgneal@1 | 29 |
bgneal@1 | 30 admin.autodiscover() |
bgneal@1 | 31 |
bgneal@1 | 32 Step 4 - Sync Your Database |
bgneal@1 | 33 |
bgneal@1 | 34 Run the 'manage.py syndb' command to create the appropriate tables. After the database in initialized, Photologue will walk you through creating some default models. |
bgneal@1 | 35 |
bgneal@1 | 36 Additional documentation available here: |
bgneal@1 | 37 |
bgneal@1 | 38 http://code.google.com/p/django-photologue/w/list |