在Windows上安装Pinax [英] Installing Pinax on Windows
问题描述
我可以在Windows环境中安装 Pinax 吗? 有一个简单的方法吗? 您推荐哪种环境?
Can I install Pinax on Windows Environment? Is there a easy way? Which environment do you recommend?
推荐答案
我已经安装了pinax 0.7rc1并可以在Windows 7上正常工作.
I have pinax 0.7rc1 installed and working on windows 7, with no problems.
请观看此视频,以获取有关如何执行此操作的绝佳示例.他在Windows XP上使用pinax 0.7beta3.
Check out this video for a great example on how to do this. He uses pinax 0.7beta3 on windows XP.
这是我遵循的步骤.
- 下载并安装python
- 下载并安装python图像库
- 通过 http://pinaxproject.com 下载pinax
- 将下载内容提取到某个工作目录
<pinax-directory>
(也许是c:\ pinax吗?) - 确保路径中包含python(c:\ pythonXX)
- 确保路径中包含python脚本文件夹(c:\ pythonXX \ scripts)
- 打开命令提示符
-
cd
到<pinax-directory>\scripts
文件夹 - 运行
python pinax-boot.py <pinax-env>
(我使用了"../pinax-env") - 等待pinax引导过程完成
- download and install python
- download and install python image library
- download pinax at http://pinaxproject.com
- 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
-从技术上讲,已经安装了pinax并可以使用它,但是下一步将使您开始使用pinax社交应用程序并运行(其他任何应用程序也可以正常运行)
-- 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到您的
<pinax-env>\scripts
目录 - 执行
activate.bat
脚本 - 执行
python clone_project social <pinax-env>\social
- cd到
<pinax-env>\social
- 执行
python manage.py syncdb
-
执行
python manage.py runserver
- 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
打开浏览器访问服务器,您应该会看到新的Pinax网站
open your browser to the server and you should see your new pinax site
Voila !! Windows上的Pinax.
Voila!! Pinax on Windows.
这篇关于在Windows上安装Pinax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!