Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Deploying grav app to PCF?

Started by fadi al 6 years ago · 0 replies · 503 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 Old Man Umby, 1 week ago
2 115 4 hours ago
General · by jeremycherfas, 2 weeks ago
5 205 17 hours ago
General · by lynbor, 6 days ago
2 136 4 days ago
General · by Sebastian, 2 weeks ago
1 135 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 256 3 weeks ago