aymeric.muntz
November 24, 2016 / 00:00
Hello
I've read you documentation http://microweber.com/docs/guides/installation.md#multi-site-setup
I've tried and it works perfectly. Now I would like to script the creation of a new site (automatic creation of the database for example). Could you please indicate me where I can find more informations?
Thank you
Best regards
in order to make multi domain setup you must make a folder for each domain in the config directory with a file named microweber.php in it
for example for example.com you must make empty file at config/example.com/microweber.php
for example2.com you must make empty file at config/example2.com/microweber.php
after that when you visit example.com you should see the install screen and the installation will be made for this domain only
for example php artisan microweber:install --env=subdomain.example.com