An E-commerce web system that based on Drupal Commerce
Thank you for watching:
This project supports using Composer to create projects. Using the following command will create a WeeShop
directory in the current directory and download WeeShop-related codes there, including their dependencies:
composer create-project weeshop/weeshop-project WeeShop --stability dev --no-interaction -vvv
This command actually simply downloads the code of the WeeShop template project repository weeshop/weeshop-project and installs the Composer dependencies defined by it. Therefore, you can actually clone the repository directly and use it as the starting point of your new project. .
This project provides preset Docker images and arranges them into docker-compose.yml
in the root directory of the template project.
If you do not want to use docker for quick installation, you can also refer to the traditional manual installation.
Prerequisites:
docker-compose.yml
needs to map port 80 of the web container to port 8080 of the physical machine. # 启动 docker 容器
docker compose up -d
At this time, you can visit http://localhost:8080
, open the graphical installation interface and enter the information according to the prompts to install:
If you prefer to use the command line, you can use the following command line to install
# 进入 docker 容器
docker compose exec web bash
# 进入容器后,在容器内继续运行下面的命令
chmod u+w /app/web/sites/default &&
cd /app &&
vendor/bin/drush site:install weeshop
install_configure_form.enable_update_status_emails=NULL
install_configure_form.demo_content=0
--db-url=mysql://root:123@db:3306/drupal
--locale=en
--site-name= ' WeeShop '
--site-mail= ' [email protected] '
--site-pass=ekpass
--account-name=admin
[email protected]
--account-pass=ekpass
vendor/bin/drush locale:check &&
vendor/bin/drush locale:update
Visit http://localhost:8080
your browser and start experiencing it!
After the installation is complete, log in to the background through http://localhost:8080/user/login
.
Pending in dev branch:
Waiting:
Guangdong ICP No. 18006542-1