Symfony 2.2.1 rsync deploy - not working on remote server

前端 未结 1 541
旧时难觅i
旧时难觅i 2021-01-26 21:38

I\'m very new to Symfony and I\'m trying to automate the deploy process with rsync, while keeping both the local and remote installs of Symfony working.

What I\'ve done

相关标签:
1条回答
  • If there is an error with the autoloader generated by composer, performing ...

    composer update
    

    ... will update your dependencies and create a new one.

    You should invoke the command with the -o flag if you are deploying to a production system.

    This way composer generates a classmap autoloader ( which performs way better ) instead of the classic autoloader.

    composer update -o
    

    I guess re-generating the autoloader will solve the issue :)

    0 讨论(0)
提交回复
热议问题