doujiu8918 2012-08-16 20:21
浏览 16

设置推进工作区

I'm trying to setup propel for the first time but I can't seem to get it configured right.

My workspace is like so:

/var/www/prod/[project_name]/www

/var/www/dev/propel

/var/www/dev/projects/[project_name]/www

So I want to set this up so I can have propel generator will just be in ./dev/propel/ and only the files that are needed (runtime / build) will be in the ./[project_name]/www that leaves all project configs in there own project folder ./[project_name] so I can just build them from ./projects/[project_name].

if there is a better way of doing this, please let me know... is there any easy way to move ./dev/ to ./prod/? or just do a CP then run the migration script?

  • 写回答

1条回答 默认 最新

  • drzablspw01655860 2012-08-17 07:38
    关注

    With the last Propel versions (1.6.x), you can use Composer to manage your dependencies in your project. It's not an answer to your question but having a global Propel installation is not recommended at all, same thing for separating runtime and generator.

    If both dev and prod own the same configuration, you can do a cp. But most of the time, it's recommended to generate files in dev and in prod as you can have different configurations. That's why having the full Propel lib in its project is a good idea.

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题