开发者

Deploying symfony without shell access

Good day,

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

Is there another way to load the database after or dur开发者_StackOverflowing symfony project:deploy?


You shouldn't be building anything on the production environment - to deploy your SQL, use whatever tool you use to connect to the server, ie. SQLYog, PHPMyAdmin, etc. and use the SQL schema created by Doctrine in your dev environment. If you need fixtures too, you can always just dump the SQL schema and data from your dev database.

Consider that over a project lifecycle, you only really need to deploy the main SQL schema once - the rest is iterative via migrations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜