A
A
alex stephen2015-02-04 12:36:48
git
alex stephen, 2015-02-04 12:36:48

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

Are there any ready-made solutions on how to properly organize this?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav, 2015-02-12
@berezuev

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

P
Peter Gribanov, 2015-02-12
@ghost404

I recommend reading about modules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question