Installing Pinax on Windows

后端 未结 3 1942
情书的邮戳
情书的邮戳 2021-02-10 15:15

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

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-10 15:28

    I have pinax 0.7rc1 installed and working on windows 7, with no problems.

    Check out this video for a great example on how to do this. He uses pinax 0.7beta3 on windows XP.

    http://www.vimeo.com/6098872

    Here are the steps I followed.

    1. download and install python
    2. download and install python image library
    3. download pinax at http://pinaxproject.com
    4. extract the download to some working directory (maybe c:\pinax ?)
    5. make sure you have python in your path (c:\pythonXX)
    6. make sure you have the python scripts folder in your path (c:\pythonXX\scripts)
    7. open a command prompt
    8. cd to \scripts folder
    9. run python pinax-boot.py (I used "../pinax-env")
    10. wait for pinax-boot process to finish

    -- technically pinax is installed and ready to use, but the next steps will get you up and running with pinax social app (any other app will also work fine)

    1. cd to your \scripts directory
    2. execute the activate.bat script
    3. execute python clone_project social \social
    4. cd to \social
    5. execute python manage.py syncdb
    6. execute python manage.py runserver

    7. open your browser to the server and you should see your new pinax site

    Voila!! Pinax on Windows.

提交回复
热议问题