在本地服务器上推进安装
我想在我的 Windows 本地服务器中安装 propel,我正在查看指南,但不确定如何运行他们的命令。任何人都可以解释我应该如何继续吗?
I Want to install the propel in my windows local server,I was looking at the guide but am not sure how to run their commands.any one can explain me how should i proceed with that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
他们的指示归结为:
达达!推进已安装。 ;-)
如果您想使用 Propel 的命令行工具,则需要做更多的工作。
如果您使用的是 WAMP,您可能可以通过运行
:\wamp\bin\php\php\go-pear.bat
来找到 pear,但这不是始终保持一致。默认情况下,XAMPP 在
:\xampp\php\pear.bat
中提供了 pear。找到
pear
后,可以 cd 到该目录或调用 < code>path\to\pear.batchannel-discover pear.phing.info(将通道...替换为所有其他 pear 命令)出于您的目的,此行:
ln -s vendor/propel/generator/bin/propel-gen propel-gen
应该是“创建一个名为 propel-gen 的 Windows 快捷方式到名为 propel-gen 的供应商/propel/generator/bin/propel-gen 并将其放在项目文件夹中”Their instructions boil down to:
TA-DA! Propel is installed. ;-)
If you'd like to use Propel's command line tools, it will take a bit more work.
If you're using WAMP you might be able to find pear by running
<drive>:\wamp\bin\php\php<version>\go-pear.bat
, but that isn't always consistent.XAMPP has pear available by default at
<drive>:\xampp\php\pear.bat
Once you've found
pear
, then either cd to the directory or callpath\to\pear.bat
channel-discover pear.phing.info (replace channel... with all of the other pear commands)For your purposes this line:
ln -s vendor/propel/generator/bin/propel-gen propel-gen
should be "Make a Windows shortcut to vendor/propel/generator/bin/propel-gen called propel-gen and place it in your project folder"