Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Deploying grav app to PCF?

Started by fadi al 6 years ago · 0 replies · 392 views
6 years ago

Hi!

Does anyone have experience deploying a grav app to PCF? I've been trying with a default php buildpack and been failing. After a bit of modification, i've been running into this error when i'm ssh'd into the running container

../php/bin/php bin/grav install

Warning: require(/home/vcap/app/htdocs/vendor/composer/../../../system/defines.php): failed to open stream: No such file or directory in /home/vcap/app/htdocs/vendor/composer/autoload_real.php on line 67

Fatal error: require(): Failed opening required '/home/vcap/app/htdocs/vendor/composer/../../../system/defines.php' (include_path='.:/tmp/build/e55deab7/binary-builder/ports/x86_64-linux-gnu/php7/7.1.33/lib/php') in /home/vcap/app/htdocs/vendor/composer/autoload_real.php on line 67

I thought if I installed all dependencies locally, and then pushed that up, then it would successfully instantiate on pcf. But it's asking me to run bin/grav install.

Anyone have any experience running grav on pivotal cloud foundry?

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 133 24 hours ago
General · by pamtbaau, 1 day ago
1 92 1 day ago
General · by Andy Miller, 2 days ago
0 77 2 days ago
General · by Marcel, 12 months ago
6 386 5 days ago
General · by Duc , 6 days ago
3 71 6 days ago