Deploying Symfony without shell access

Good afternoon,

I have an application written using the Symfony framework. The app is running on my development server where I have shell access. However, I am unable to load my application to my host, as I need to run symfony doctrine::build

from the command line on the host.

Is there any other way to load the database after or during symfony project:deploy

?

+2


a source to share


1 answer


You shouldn't create anything in production - to deploy your SQL, use whatever tool you use to connect to the server, i.e. SQLYog, PHPMyAdmin, etc. And use the SQL schema generated by Doctrine in your dev environment. If you need devices as well, you can always just dump the schema and SQL data from your dev database.



We believe that across the project lifecycle, you really need to deploy the main SQL schema once - the rest is iteratively through migration.

+3


a source







All Articles