Moar settings_local shit.
parent
fdf016f9b6
commit
c74ea78141
10
README.md
10
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! :)
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue