Commits

Anonymous committed 04d9e1f

some changes needed in production

  • Participants
  • Parent commits c4b2d23

Comments (0)

Files changed (3)

File friendpaste.wsgi

 import os
 import sys
 
-sys.path.append('/var/www/vhosts/friendpaste')
+sys.path.append('/var/www/vhosts/pypaste')
 os.environ['PYTHON_EGG_CACHE'] = '/var/cache/.python-eggs'
 
 

File friendpaste/settings.py

 
 import os
 
-DEBUG = True
+DEBUG = False
 
 SITE_URI='http://www.pypaste.com'
-ORBITED_HOST = 'orbited.pypastecom'
+ORBITED_HOST = 'orbited.pypaste.com'
 ORBITED_PORT = 80
 
 if DEBUG:

File templates/paste/view.html

 <script>
     //document.domain = document.domain;
     Orbited.settings.port = {{ ORBITED_PORT }};
-    //Orbited.settings.hostname = "{{ ORBITED_HOST }}";
+    Orbited.settings.hostname = "{{ ORBITED_HOST }}";
 
     TCPSocket = Orbited.TCPSocket;