在开发站点中看不到代码的原始更改 [英] plone change in code not visible in development site

查看:77
本文介绍了在开发站点中看不到代码的原始更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手.我在Eclipse中有一个项目文件夹.我已经从cvs项目中导入了它.我将zope作为服务器,并从./bin/instance restart开始zope.当我在文件夹中进行更改时,我看不到开发网站中的更改.我似乎找不到正在发生的事情.在python中进行更改后,我什至重新启动了zope.有人可以帮我吗?

I am very new to plone. I have a project folder in eclipse. I have imported it from the cvs project. I have zope as server and I start zope with ./bin/instance restart. When I make changes in my folder, I cannot see the changes in the development website. I can't seem to find what is happening. I even restarted zope after making changes in python. Can anyone help me with this?

推荐答案

请确保您使用bin/instance fg启动Zope服务器,如果您使用的是Plone通用安装程序,则很可能是脚本名称.

Make sure you start your Zope server with bin/instance fg, most likely the name of the script if you used the Plone universal installer buildout.

要查看python代码中的更改,您将需要重新启动服务器(CTRL-C然后再次启动),或使用类似

To see changes in python code you'll either need to restart the server (CTRL-C then start again) or use something like plone.reload to request a reload of changed code.

使用fg命令启动服务器时,它会自动以调试模式运行,并且所有模板,资源和外观项目都会自动重新加载.用consolestart启动服务器,它将以生产模式运行,并且模板等仅从磁盘加载一次.

When starting your server with the fg command, it is automatically running in debug mode and any templates, resources and skin items are reloaded automatically. Start the server with console or start and it'll run in production mode and templates and such are loaded from disk only once.

请参见

See the Plone.org documentation on buildout for more information.

bin/instance命令具有内置的帮助命令,请尝试:

The bin/instance command has a built-in help command, try:

bin/instance help

以获取受支持的命令列表或运行:

for a list of supported commands or run:

bin/instance help console

获得有关特定命令的帮助;上面的示例将在console命令上打印帮助.

to get help on a specific command; the above example will print the help on the console command.

这篇关于在开发站点中看不到代码的原始更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆