Merge pull request #399 from Gluejar/fix_requirements_pip

Fix requirements pip
pull/1/head
Raymond Yee 2014-10-16 15:20:44 -07:00
commit 333e2a6839
4 changed files with 13 additions and 9 deletions

View File

@ -9,7 +9,7 @@
cd /opt/regluit
sudo -u ubuntu /usr/bin/git pull
source ENV/bin/activate
pip install -r requirements_versioned.pip
pip install --upgrade -r requirements_versioned.pip
django-admin.py syncdb --migrate --settings regluit.settings.just
django-admin.py collectstatic --noinput --settings regluit.settings.just

View File

@ -3,7 +3,7 @@
cd /opt/regluit
sudo -u ubuntu /usr/bin/git pull origin production
source ENV/bin/activate
pip install -r requirements_versioned.pip
pip install --upgrade -r requirements_versioned.pip
django-admin.py syncdb --migrate --settings regluit.settings.prod
django-admin.py collectstatic --noinput --settings regluit.settings.prod
sudo /etc/init.d/apache2 restart

View File

@ -14,7 +14,8 @@ boto==2.8.0
#git+ssh://git@github.com/Gluejar/boto.git@2.3.0
celery==3.0.9
# pip installing pillow seems to delete distribute
distribute==0.6.28
# but having distribute in requirements starting to cause problems
# distribute==0.6.28
django-celery==3.0.9
#django-ckeditor==3.6.2.1
git+ssh://git@github.com/Gluejar/django-ckeditor.git@3.6.2.1.post20131230
@ -52,7 +53,7 @@ pymarc==2.8.8
python-dateutil==2.1
python-openid==2.2.5
pytz==2012d
rdflib==2.4.0
rdflib==2.4.1
redis==2.6.2
reportlab==3.1.8
requests==2.4.3

View File

@ -130,12 +130,15 @@ CELERYBEAT_SCHEDULE['emit_notifications'] = EMIT_NOTIFICATIONS_JOB
# local settings for maintenance mode
MAINTENANCE_MODE = False
# Amazon credentials (for fps)
AWS_ACCESS_KEY = ''
AWS_SECRET_ACCESS_KEY = ''
# Amazon keys to permit S3 access
# reusing just cedentials here
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
AWS_ACCESS_KEY_ID = 'AKIAIYP6XRVAUWKQFT5Q'
AWS_SECRET_ACCESS_KEY = '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'
AWS_STORAGE_BUCKET_NAME = 'just-unglueit'
# choice of payment processor
PAYMENT_PROCESSOR = 'paypal'
# if settings/local.py exists, import those settings -- allows for dynamic generation of parameters such as DATABASES
try: