Moar settings_local shit.

master
Nick Sergeant 2013-03-25 21:41:29 -04:00
parent fdf016f9b6
commit c74ea78141
3 changed files with 6 additions and 8 deletions

View File

@ -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! :)

2
fabfile.py vendored
View File

@ -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]

View File

@ -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')