dongying7847 2014-09-23 09:35
浏览 91
已采纳

Cloudfoundry命令行工具不会推送所有文件

I'm trying to push a simple application to IBMBluemix (Cloudfoundry) but some files are not picket up.

I have a folder containing some files (index.php, test.html, ...). All these are pushed, but my css folder for example is not.

In the root folder containing these files and folders I type:

cf push -m 128M -b https://github.com/dmikusa-pivotal/cf-php-build-pack.git testname

So after this

testname.mybluemix.net/index.php

is accessible, but

testname.mybluemix.net/css/reveal.min.cs

is not.

Any ideas?

Best Regards

Romeo

  • 写回答

3条回答 默认 最新

  • dpstir0081 2014-11-08 09:02
    关注

    Thanks a lot! The problem was not files not being pushed. The buildpack I specified just ignored them. Changing the buildpack solved the issue. But I've learned about .cfignore and the -p parameter so the discussion was worth it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 python结合Matlab仿真忆阻器
  • ¥35 有人会注册whatsaop协议号吗?
  • ¥15 lead dbs 无法导入影像数据
  • ¥15 多目标MPA算法优化编程实现
  • ¥15 反激PWM控制芯片调研
  • ¥15 Python for loop减少运行时间
  • ¥15 fluent模拟物质浓度udf
  • ¥15 Collection contains no element matching the predicate
  • ¥20 冻品电商平台的搜索是怎么实现的
  • ¥15 如何搞一个可以控制、显示马达频率