Author: Brian.Five
Date: Mon Mar 30 08:11:41 2009
New Revision: 1171

Modified:
    wiki/NewPinaxSetup.wiki

Log:
Added instructions for virtualenvwrapper.

Modified: wiki/NewPinaxSetup.wiki
==============================================================================
--- wiki/NewPinaxSetup.wiki     (original)
+++ wiki/NewPinaxSetup.wiki     Mon Mar 30 08:11:41 2009
@@ -1,8 +1,8 @@
  =New Pinax Setup=

-There are several ways of setting up the development environment for Pinax.
+There are several ways of setting up the *development environment for  
pinax*.

-Below are some examples - one using a script (that creates a virtualenv),  
and one a manual setup using the handy virtualenvwrapper.
+Below are some examples - one using a *boot script* (that creates a  
virtualenv), and one that has a few manual steps for using the handy  
*virtualenvwrapper*.

  Both use PIP.  (Not sure if PIP runs on Windows)

@@ -106,11 +106,41 @@

  == Example 2: virtualenvwrapper on Mac OSX with SQLite ==

-The following steps will lead you through setting up Pinax using  
virtualenvwrapper.
+The following steps will lead you through setting up pinax using  
virtualenvwrapper.
+
+I wasn't able to use the boot-script inside a virtualenvwrapper.

  Requirements:
    * SQLite (comes with OSX)
    * virtualenvwrapper
    * Python 2.4 (or higher)

-(steps coming momentarily)
\ No newline at end of file
+Start here:
+
+{{{
+$ mkvirtualenv pinax
+$ easy_install pip
+$ cd .virtualenvs/pinax
+$ git clone git://github.com/pinax/pinax.git
+$ pip install --requirement pinax/requirements/external_apps.txt
+$ easy_install django
+}}}
+
+Since pinax is one level lower than expected in the path, you need to  
setup a symlink so that pinax is on the path:
+
+{{{
+$ cd /.virtualenvs/pinax/lib/python2.4/site-packages
+$ ln -s ~/.virtualenvs/pinax/pinax/pinax
+}}}
+
+(or maybe PIP profile can be updated to add this to the path?)
+
+Finally, head over to one of the sample projects, say *basic_project* and  
run the normal Django magic.
+
+{{{
+$ cd ~/.virtualenvs/pinax/pinax/pinax/projects/basic_project
+$ ./manage.py syncdb
+$ ./manage.py runserver
+}}}
+
+You now have a running Django site running a pinax project.
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to