Answer the question
In order to leave comments, you need to log in
Yii2 and deploy to server?
How to organize the "layout" on the server?
I am developing on yii2 in development mode. I collected some master, uploaded it to bitbucket - that's it, there is a ready-made branch that can be uploaded
to a working server. What to do next? How to turn it into production? Or just keep the branch in production and already attach your development to it?
So, what is next? What kind of tools to put, such as capistrano (by the way, where is it placed?)? And on request, will it take from the bitbucket.production.my-best-site branch and upload it to the production
server? And what to do with bases? At the moment there is a base with thirty tables. How to create (and create further) migrations from them? Or fill in the dump,
and do the next steps with migrations?
Answer the question
In order to leave comments, you need to log in
First deploy:
git clone
composer install
yii init
#правите локальные конфиги (прописываете базу)
yii migrate
git pull
composer install
yii migrate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question