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条)

报告相同问题?

悬赏问题

  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大