yii2 - Multiple alias in one account -


i never used fortrabbit before , have question it. know can create apps , define document root, lets imagine following:

i want go yii2 framework (advanced template)

advanced template have "two apps" in (2 folders) backend , frontend.

on real server have create 2 alias, eg:

  1. admin.myapp.com -> root/backend/www
  2. www.myapp.com -> root/frontend/www

is possible configure fortrabbit work within same application , share same resources (mysql, cache, etc)?

your setup possible @ fortrabbit. put both folders in git repo , push forrabbit. after can route subdomains (www., admin.) subfolders (frontend/www, backend/www).

if project requires composer install during deploy process not work our of box, since check composer.json/lock in root of project.

however can define custom post-deploy scripts. in these script call composer install in subfolders.

cheers oliver (fortrabbit staff)


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -