Answer the question
In order to leave comments, you need to log in
Yii2 (front, back) + github. Howto?
Hello.
Decided to try Yii2. I started using the Advanced Application Template right away , because. Separation into front-end and back-end is needed.
I want to shove this whole thing into the repository on GitHub, but I need to do something so that all the Yii2 code is installed during deployment.
those. something like
git clone ...front
git clone ...back
php composer.phar install
Answer the question
In order to leave comments, you need to log in
In the database, no way, because. it is assumed that the folders will be located on the same server, because there is a shared folder with system components. Those. you can only upload the entire repository, then use the composer to pull up the framework itself and components.
If you want complete independence of the admin and frontend, then it is better to make two projects with the basic template
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question