The whole galaxy system, you can customize it base on your requirements.
MIT License
(B2B2C)B2C
C2C
common
config/ contains shared configurations
mail/ contains view files for e-mails
console
config/ contains console configurations
controllers/ contains console controllers (commands)
migrations/ contains database migrations
models/ contains console-specific model classes
runtime/ contains files generated during runtime
matter
base/
behaviors/
helpers/
modules
account
auth
blog
cart
catalog
marketing
member
order
payment
refund
shipment
store
system
star-center
star-cms
star-mall
star-merchant
star-store
star-upload
themes
vendor/ contains dependent 3rd-party packages
environments/ contains environment-based overrides
tests contains various tests for the advanced application
codeception/ contains tests developed with Codeception PHP Testing Framework
xxx.starstar-xxx
hosts
127.0.0.1 center.star
127.0.0.1 cms.star
127.0.0.1 mall.star
127.0.0.1 merchant.star
127.0.0.1 store.star
127.0.0.1 upload.star
apache httpd-vhosts.conf:
<VirtualHost *:80>
ServerName center.star
ServerAlias center.star
DocumentRoot "E:\wamp64\www\galaxy\star-center\web"
<Directory "E:\wamp64\www\galaxy\star-center\web">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName cms.star
ServerAlias cms.star
DocumentRoot "E:\wamp64\www\galaxy\star-cms\web"
<Directory "E:\wamp64\www\galaxy\star-cms\web">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName store.star
ServerAlias store.star
DocumentRoot "E:\wamp64\www\galaxy\star-store\web"
<Directory "E:\wamp64\www\galaxy\star-store\web">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName mall.star
ServerAlias mall.star
DocumentRoot "E:\wamp64\www\galaxy\star-mall\web"
<Directory "E:\wamp64\www\galaxy\star-mall\web">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName merchant.star
ServerAlias merchant.star
DocumentRoot "E:\wamp64\www\galaxy\star-merchant\web"
<Directory "E:\wamp64\www\galaxy\star-merchant\web">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName upload.star
ServerAlias upload.star
DocumentRoot "E:\wamp64\www\galaxy\star-upload"
<Directory "E:\wamp64\www\galaxy\star-upload">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
console/data/galaxy_latest.sql
yii migrate/up system_v0_1_0 --migrationPath=@star/system/migrations
composer update(composevendor.zip)
php init 0 - 1 -
yii migrate/up system_v0_1_0 --migrationPath=@star/system/migrations
console/data/galaxy_latest.sql
admin 123456
The minimum requirement by this application template that your Web server supports PHP 5.4.0.
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install the application using the following command:
php composer.phar global require "fxp/composer-asset-plugin:1.0.0"
php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced