extract the download to some working directory <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 a command prompt
cd to <pinax-directory>\scripts folder
run python pinax-boot.py <pinax-env> (I used "../pinax-env")
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)
cd to your <pinax-env>\scripts directory
execute the activate.bat script
execute python clone_project social <pinax-env>\social
cd to <pinax-env>\social
execute python manage.py syncdb
execute python manage.py runserver
open your browser to the server and you should see your new pinax site
Provided you have Python and Django installed, Pinax should install fine. According to the documentation there is one step that you have to do specifically on Windows however (Under the "Note To Windows Users" heading):
我花了一段时间试图让 .7 beta 在 Windows 中运行,但遇到了很多麻烦。 然而,.7 的第三个测试版(最新的测试版)似乎侧重于 Windows 支持。 因此,尝试一下,而不是“稳定”版本 - 无论如何,它已经接近稳定版本,并且现在建议使用。
但最终,我切换到了 Ubuntu,但并没有变得更快乐。 Python 开发在 Linux 中要好得多。 安装许多 Python 包更容易,我遇到的配置问题更少,并且有更好的支持和文档可用。
I spent a while trying to get the .7 beta working in Windows and ran into a lot of trouble. However, it looks like the 3rd beta release of .7 (the latest beta release) focuses on Windows support. So try that, instead of the 'stable' version - it's close to being released as stable anyway, and is recommended now for use.
In the end though, I switched to Ubuntu and haven't been happier. Python development is much nicer in Linux. It's easier to install many Python packages, I run into fewer configuration issues, and there's better support and documentation available.
发布评论
评论(3)
我安装了 pinax 0.7rc1 并在 Windows 7 上运行,没有任何问题。
请观看此视频,了解如何执行此操作的一个很好的示例。 他在 Windows XP 上使用 pinax 0.7beta3。
http://www.vimeo.com/6098872
以下是我遵循的步骤。
(可能是 c:\pinax ?)cd
到\scripts
文件夹python pinax-boot.py;
(我使用了“../pinax-env”)- 从技术上讲,pinax 已安装并可以使用,但接下来的步骤将让您启动并运行 pinax 社交应用程序(任何其他应用程序也可以正常工作)
\scripts
目录activate.bat
脚本pythonclone_projectsocial\social
python manage.pysyncdb
执行
python manage.py runserver
打开浏览器到服务器,您应该看到新的 pinax 站点
瞧! Windows 上的 Pinax。
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.
<pinax-directory>
(maybe c:\pinax ?)cd
to<pinax-directory>\scripts
folderpython pinax-boot.py <pinax-env>
(I used "../pinax-env")-- 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)
<pinax-env>\scripts
directoryactivate.bat
scriptpython clone_project social <pinax-env>\social
<pinax-env>\social
python manage.py syncdb
execute
python manage.py runserver
open your browser to the server and you should see your new pinax site
Voila!! Pinax on Windows.
如果您安装了 Python 和 Django,Pinax 应该可以正常安装。 根据文档,您必须在 Windows 上专门执行一个步骤(在“Windows 用户注意事项”标题下):
http://pinaxproject.com/docs/0.5.1/install.html
Provided you have Python and Django installed, Pinax should install fine. According to the documentation there is one step that you have to do specifically on Windows however (Under the "Note To Windows Users" heading):
http://pinaxproject.com/docs/0.5.1/install.html
我花了一段时间试图让 .7 beta 在 Windows 中运行,但遇到了很多麻烦。 然而,.7 的第三个测试版(最新的测试版)似乎侧重于 Windows 支持。 因此,尝试一下,而不是“稳定”版本 - 无论如何,它已经接近稳定版本,并且现在建议使用。
但最终,我切换到了 Ubuntu,但并没有变得更快乐。 Python 开发在 Linux 中要好得多。 安装许多 Python 包更容易,我遇到的配置问题更少,并且有更好的支持和文档可用。
I spent a while trying to get the .7 beta working in Windows and ran into a lot of trouble. However, it looks like the 3rd beta release of .7 (the latest beta release) focuses on Windows support. So try that, instead of the 'stable' version - it's close to being released as stable anyway, and is recommended now for use.
In the end though, I switched to Ubuntu and haven't been happier. Python development is much nicer in Linux. It's easier to install many Python packages, I run into fewer configuration issues, and there's better support and documentation available.