Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Update README.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross M Karchner committed Nov 1, 2012
1 parent a3711d9 commit d5c84b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ https://github.com/etianen/django-reversion

## Installation

#1 Install nudge with 'pip install django-nudge'
#2 add 'nudge' to your INSTALLED_APPS
#3 add nudge to your URL configuration, on your both servers: like: url(r'^nudge-api/', include('nudge.urls')),
#4 run manage.py syncdb
1. Install nudge with 'pip install django-nudge'
2. add 'nudge' to your INSTALLED_APPS
3. add nudge to your URL configuration, on your both servers: like: url(r'^nudge-api/', include('nudge.urls')),
4. run manage.py syncdb

## Using Nudge

#1 Use your favorite method of enabling django-reversion for your models.
#2 generate a key by running ./manage.py new_nudge_key. Set this to NUDGE_KEY in both settings.py (staging and production)
#3 in the staging settings.py, set NUDGE_REMOTE_ADDRESS to the 'nudge-api' URL of your production server 'http://somehost/nudge-api/'
#4 in the staging settings.py, set NUDGE_SELECTIVE to a list any models that you want to use with Nudge (and are already being managed by reversion), like ['jobmanager.job', 'knowledgebase.question']
1. Use your favorite method of enabling django-reversion for your models.
2. generate a key by running ./manage.py new_nudge_key. Set this to NUDGE_KEY in both settings.py (staging and production)
3. in the staging settings.py, set NUDGE_REMOTE_ADDRESS to the 'nudge-api' URL of your production server 'http://somehost/nudge-api/'
4. in the staging settings.py, set NUDGE_SELECTIVE to a list any models that you want to use with Nudge (and are already being managed by reversion), like ['jobmanager.job', 'knowledgebase.question']

0 comments on commit d5c84b1

Please sign in to comment.