User Tools

Site Tools


django_installation_on_dreamhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
django_installation_on_dreamhost [2010/11/25 16:49] jtkorbdjango_installation_on_dreamhost [2010/11/29 11:06] (current) jtkorb
Line 1: Line 1:
 +====== Basic Django Setup Instructions ======
 +
 Installation instructions from http://wiki.dreamhost.com/Django. Installation instructions from http://wiki.dreamhost.com/Django.
  
Line 11: Line 13:
     - ''wget http://wiki.dreamhost.com/django-setup.py''     - ''wget http://wiki.dreamhost.com/django-setup.py''
     - ''python django-setup.py''     - ''python django-setup.py''
-    - Name project (p)+    - Name project (mysite) 
 +    - MySQL database (bikdjango)
     - MySQL username (jtkorb) and password     - MySQL username (jtkorb) and password
-    - Create a superuser (jtkorb and admin, not sure both needed)+    - Create a superuser (admin, but deleted later for just jtkorb) 
 +  - Found problem with Oracle configuration using "paste" to intercept and display errors from Django.  See [[http://wiki.dreamhost.com/Passenger_WSGI#500_Errors_with_Passenger_WSGI_Workaround|here]] for details.  Current status is that the "purdue" Oracle section of the settings.py file is commented out. 
 +  - Verify installation
  
-====== Old Notes from Charvel ====== +        [charvel] $ python 
- +        Python 2.5.(r252:60911Jan 24 201017:44:40)  
-Installation instructions from... +        [GCC 4.3.2] on linux2 
- +        Type "help", "copyright", "credits" or "license" for more information
-        http://www2.jeffcroft.com/blog/2006/may/11/django-dreamhost/ +        >>> import django 
- +        >>> print django.get_version() 
-Pretty much followed exactly, eventually, after getting a false start on the +        1.2.1
-exceptions in the Dreamhost help pages (flup is not needed).  Enabled admin +
-interfacetooper instructions at Jeff Croft site. +
- +
-Source code from... +
- +
-        http://www.djangoproject.com/download/ +
- +
-Currently (6/21/07using development version.  Update with svn... +
- +
-        % cd django_src +
-        % svn update +
- +
-Did (7/14/07) the tutorial starting at...  +
- +
-        http://www.djangoproject.com/documentation/tutorial01/ +
- +
-11/21/07: Updated with svn (per 6/21/07 instructions).  Lots of +
-updates!  To revision 6709. +
- +
-        % cd django_src +
-        % svn update +
-        % python setup.py install (may not be necessary and gives an error+
-        % pkill python (this *is* necessary) +
- +
-12/15/07: Updated with svn to revision 6920.  Shortened instructions...+
                  
-        % cd django_src +        [charvel] $ mysql -u jtkorb -h mysql.bikmort.com bikdjango 
-        % svn update +        mysql> show tables; 
-        % pkill python +        +----------------------------+ 
- +        | Tables_in_bikdjango        | 
-1/1/08: Updated with svn to revision 6980 (per above).   +        +----------------------------+ 
- +        | auth_group                  
-        Created ~/bin.  Linked /usr/bin/python2.4 to +        | auth_group_permissions      
-        ~/bin/python. Prepended ~/bin to my path. +        | auth_message                
- +        | auth_permission            |  
-1/1/08: To do... +        | auth_user                  |  
- +        | auth_user_groups            
-        Confirm that /usr/bin/python2.4 is being used for python. +        | auth_user_user_permissions |  
- +        | django_admin_log            
-        Install pyfacebook, something like... +        | django_content_type        |  
-        % svn checkout http://pyfacebook.googlecode.com/svn/trunk/ pyfacebook +        | django_session              
-        % python setup.py install+        | django_site                |  
 +        +----------------------------+ 
 +        11 rows in set (0.05 sec)
  
django_installation_on_dreamhost.1290732552.txt.gz · Last modified: 2010/11/25 16:49 by jtkorb