From c74ea781412e929735cb19d75cedf7abe2a28f8c Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Mon, 25 Mar 2013 21:41:29 -0400 Subject: [PATCH] Moar settings_local shit. --- README.md | 10 ++++------ fabfile.py | 2 +- views.py | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d5f77fd..bd63b44 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,9 @@ If you need help, visit `#snipt` on irc.freenode.net. 2. Setup a virtualenv. 3. `pip install -r requirements.txt` 4. `pip install --index-url https://code.stripe.com --upgrade stripe` -5. Copy local_settings-template.py to local_settings.py and edit the settings. -6. Comment out [this line](https://github.com/nicksergeant/snipt/blob/master/snipts/models.py#L19) from `snipts/models.py` -7. `python manage.py syncdb` -8. `python manage.py migrate` -9. Uncomment the line in `snipt/models.py` -10. `python manage.py runserver` +5. Copy settings_local-template.py to settings_local.py and edit the settings. +6. `python manage.py syncdb` +7. `python manage.py migrate` +8. `python manage.py runserver` Any problems / questions / bugs, [create an issue](https://github.com/nicksergeant/snipt/issues). Thanks! :) diff --git a/fabfile.py b/fabfile.py index a166540..b7d0861 100644 --- a/fabfile.py +++ b/fabfile.py @@ -5,7 +5,7 @@ from boto.s3.key import Key import datetime, sys -from local_settings import AMAZON_API_KEY, AMAZON_API_SECRET, ENV_HOST +from settings_local import AMAZON_API_KEY, AMAZON_API_SECRET, ENV_HOST env.hosts = [ENV_HOST] diff --git a/views.py b/views.py index 6dd8f56..c775956 100644 --- a/views.py +++ b/views.py @@ -11,7 +11,7 @@ from taggit.models import Tag import hashlib, stripe -from local_settings import STRIPE_API_KEY +from settings_local import STRIPE_API_KEY @render_to('homepage.html')