Install Pinax on Windows

Can I install Pinax in a Windows environment? Is there an easy way? Which environment do you recommend?

+4
source share
3 answers

I have pinax 0.7rc1 installed and working on Windows 7 without problems.

Watch this video for a great example on how to do this. It uses pinax 0.7beta3 for Windows XP.

http://www.vimeo.com/6098872

Here are the steps I followed.

  • download and install python
  • download and install python image library
  • download pinax at http://pinaxproject.com
  • extract the download to some working <pinax-directory> (maybe c: \ pinax?)
  • make sure you have python in your path (c: \ pythonXX)
  • make sure you have the python scripts folder in your path (c: \ pythonXX \ scripts)
  • open command prompt
  • cd to the <pinax-directory>\scripts folder
  • run python pinax-boot.py <pinax-env> (I used "../pinax-env")
  • wait for the pinax-boot process to complete

- technically, pinax is installed and ready to use, but the following steps will help you get started with the pinax social application (any other application will also work fine)

  1. cd to the <pinax-env>\scripts directory
  2. run activate.bat script
  3. execute python clone_project social <pinax-env>\social
  4. cd to <pinax-env>\social
  5. execute python manage.py syncdb
  6. execute python manage.py runserver

  7. open your browser on the server and you will see a new pinak site

Voila !! Pinax on Windows.

+7
source

If you have Python and Django installed, Pinax should set a fine. According to the documentation, there is one step that needs to be done specifically for Windows (under the heading β€œNote for Windows users”):

http://pinaxproject.com/docs/0.5.1/install.html

0
source

I spent some time trying to get the beta version of .7 running on Windows and ran into a lot of problems. However, it seems that the 3rd beta .7 (latest beta) is focusing on Windows support. So try this instead of the β€œstable” version - it will be close to being released as stable anyway, and is now recommended for use.

In the end, I switched to Ubuntu and was not happier. Python development on Linux is much nicer. It’s easier to install many Python packages, I ran into fewer configuration problems, and there is better support and documentation there.

0
source

All Articles