Chapters
37 Chapters
|
3:44:49
|
Login to bookmark this video
-
Course Code
Login or register to download the code!Compatible PHP versions: ^7.1.3
Login or register to download the code!Compatible PHP versions: ^7.1.3
-
This Video
Login or register to download the video!
Login or register to download the video!
-
Subtitles
Login or register to download the subtitles!
Login or register to download the subtitles!
-
Course Script
Login or register to download the script!
Login or register to download the script!
27.
Deploying to SymfonyCloud
Scroll down to the script below, click on any sentence (including terminal blocks) to jump to that spot in the video!
Subscribe to jump to this part in the video!
This tutorial can be used to learn how to profile any app - including Symfony 5.
What PHP libraries does this tutorial use?
// composer.json
{
"require": {
"php": "^7.1.3",
"ext-ctype": "*",
"ext-iconv": "*",
"blackfire/php-sdk": "^1.20", // v1.20.0
"composer/package-versions-deprecated": "^1.11", // 1.11.99
"doctrine/annotations": "^1.0", // v1.8.0
"doctrine/doctrine-bundle": "^1.6.10|^2.0", // 1.11.2
"doctrine/doctrine-migrations-bundle": "^1.3|^2.0", // v2.0.0
"doctrine/orm": "^2.5.11", // v2.6.4
"phpdocumentor/reflection-docblock": "^3.0|^4.0", // 4.3.2
"sensio/framework-extra-bundle": "^5.4", // v5.5.1
"symfony/console": "4.3.*", // v4.3.10
"symfony/dotenv": "4.3.*", // v4.3.10
"symfony/flex": "^1.9", // v1.21.6
"symfony/form": "4.3.*", // v4.3.10
"symfony/framework-bundle": "4.3.*", // v4.3.9
"symfony/http-client": "4.3.*", // v4.3.10
"symfony/property-access": "4.3.*", // v4.3.10
"symfony/property-info": "4.3.*", // v4.3.10
"symfony/security-bundle": "4.3.*", // v4.3.10
"symfony/serializer": "4.3.*", // v4.3.10
"symfony/twig-bundle": "4.3.*", // v4.3.10
"symfony/validator": "4.3.*", // v4.3.10
"symfony/webpack-encore-bundle": "^1.6", // v1.7.2
"symfony/yaml": "4.3.*", // v4.3.10
"twig/extensions": "^1.5" // v1.5.4
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.2", // 3.2.2
"easycorp/easy-log-handler": "^1.0.7", // v1.0.9
"fzaninotto/faker": "^1.8", // v1.8.0
"symfony/browser-kit": "4.3.*", // v4.3.10
"symfony/css-selector": "4.3.*", // v4.3.10
"symfony/debug-bundle": "4.3.*", // v4.3.10
"symfony/maker-bundle": "^1.13", // v1.14.3
"symfony/monolog-bundle": "^3.0", // v3.5.0
"symfony/phpunit-bridge": "^5.0", // v5.0.3
"symfony/stopwatch": "4.3.*", // v4.3.10
"symfony/var-dumper": "4.3.*", // v4.3.10
"symfony/web-profiler-bundle": "4.3.*" // v4.3.10
}
}
9 Comments
hi .. Fatal error when I run git add
<blockquote>
fatal: D:projectblackfire.symfony.cloud.yaml: 'D:projectblackfire.symfony.cloud.yaml' is outside repository
</blockquote>
Hey Hanene,
Hm, try to do simpler:
If still not work, please, make sure your have a Git repository initialiazed in the project root dir and those files are inside of your project root dir.
Cheers!
Ok it works .Could you give the project Id
Hey Hanene,
Glad it works! Hm, what project ID are you talking about? :) Do you see a question about project ID in your console? After what command? Could you copy/paste it? :)
Cheers!
I run symfony.exe link [project-id] to get project IDs via symfony.exe projects... Infact I don't have a credit card :(...
Hey hanene,
Ah, it won't work :) I can't give you my project ID, because even if you would have my project ID - you won't be able to use it as you just don't have access to my project. You need to create your own project in SymfonyCloud and use it for training purposes if you want. Or just skip chapters that require SymfonyCloud account if you don't want to buy it.
Cheers!
it s Ok no problem :)) ;)
Hello.
After symfony deploy I get following error:
.plaftorm.app.yaml contents:
Hey Rainer-S,
Please, double-check the indentation in your
.plaftorm.app.yaml- it seems you should indent the build & deploy items with 4 spaces back to the root of the file, i.e.:Right now it looks like the "hooks" is nested into "mounts" that is not correct.
Cheers!
"Houston: no signs of life"
Start the conversation!