Search code examples
phpcloud-foundrybuildpackibm-cloud

Cloudfoundry command line tool doesn't push all files


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


Solution

  • 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.