Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Deploying grav app to PCF?

Started by fadi al 6 years ago · 0 replies · 593 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 themetman, 1 day ago
2 41 18 hours ago
General · by Hanns Mattes, 1 week ago
0 122 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago