杜郎俊赏 - dujun.io

开源实例之Sylius

前言

Sylius is an outstanding eCommerce framework providing a developer-friendly environment for creating any shopping experience for B2C and B2B eCommerce operating in the most demanding models. The framework provides an astonishing Developer Experience backed by well-established practices of crafting software and using the full potential of the best open-source solutions.

本实例是基于Sylius部署的商城系统。

实例地址

http://sylius.dujun.eu.org

实例配置

配置描述
系统Debian
服务端PHP 8.1
开发环境服务端Node.js 18
数据库MariaDB 10.5
服务器Nginx
程序Sylius 1.12.13

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 PHP、Node.js
  • 已安装 MySQL
  • 已安装 Nginx

安装程序

官网地址:https://sylius.com
仓库地址:https://github.com/Sylius/Sylius

创建数据库

创建一个空数据库,用于后续安装。

部署服务

#用 composer 构建项目
composer create-project sylius/sylius-standard MyFirstShop
cd MyFirstShop

#修改数据库配置
vim .env

#执行安装,按照引导填写信息
bin/console sylius:install

#生成前端静态文件
yarn
yarn build

实例体验

商品页

管理后台

用户中心订单页

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 PHP开源实例 运营开源实例 商城开源实例
日期:2024-02-22