added script to update please.unglueit.com
parent
7cf40e88de
commit
4860ec430a
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
# put this in one of root's crontabs and it'll refresh and restart regluit
|
||||
|
||||
cd /opt/regluit
|
||||
sudo -u ubuntu -c "git pull"
|
||||
source ENV/bin/activate
|
||||
django-admin.py syncdb --migrate --settings regluit.settings.prod
|
||||
sudo /etc/init.d/apache2 restart
|
||||
sudo /etc/init.d/celeryd restart
|
|
@ -54,7 +54,7 @@ PAYPAL_SIGNATURE = ''
|
|||
PAYPAL_APPID = ''
|
||||
|
||||
PAYPAL_ENDPOINT = 'svcs.sandbox.paypal.com' # sandbox
|
||||
PAYPAL_PAYMENT_HOST = 'http://www.sandbox.paypal.com' # sandbox
|
||||
PAYPAL_PAYMENT_HOST = 'https://www.sandbox.paypal.com' # sandbox
|
||||
|
||||
PAYPAL_SANDBOX_LOGIN = ''
|
||||
PAYPAL_SANDBOX_PASSWORD = ''
|
||||
|
|
Loading…
Reference in New Issue