开始VirtoCommerce店面主题开发 [英] Starting VirtoCommerce Storefront Theme Development

查看:196
本文介绍了开始VirtoCommerce店面主题开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试从Timber开始,但是如果没有IIS Express上的站点,该解决方案将无法加载.进一步说,下载的zip文件的内容在工作时,该解决方案没有一种部署到新zip的方法,因此我可以创建一个新zip并进行部署. zip中似乎有一些文件不在解决方案中,因此我担心,仅将解决方案中的文件压缩后,我可能不会获得相同的结果.

Trying to start from Timber but the solution won't load without a site on IIS Express existing. Further the contents of the downloaded zip file, while working, the solution does not come with a way to deploy to a new zip so I can create a new zip and deploy. There seem to be files in the zip that are not in the solution so I'm concerned I might not end up with same result just zipping up the files in the solution.

尝试下载Skeleton,但没有实际可从App Store下载的链接吗?

Trying to download the Skeleton but no links to actually download from the app store?

https://virtocommerce.com/skeleton-theme

推荐答案

从VirtoCommerce.Storefront项目开始.

Starting from the VirtoCommerce.Storefront project.

  • 将App_Data/Themes/Default文件夹的内容复制到新目录中的主题"目录.
  • 从包含主题"文件夹的根目录创建一个git repo.

  • 添加一个GitVersion.yml文件来控制版本控制.

  • Add a GitVersion.yml file to control the versioning.

在Azure中使用blob存储运行,您可以创建一个CI流程以在签入更改时自动上传主题.

Running in Azure using blob storage you can create a CI process to automatically upload your theme when changes are checked in.

  • 最后登录平台,导航到您上载到的站点并激活新主题.这样,您可以在需要时退回去.

您也可以将存储库的内容压缩.

You could also zip the contents of your repo up as well.

该zip文件中应包含一个文件夹,例如"ThemeName-0.0.0",该文件夹中应包含资产,配置,布局,语言环境,摘要,社交和模板文件夹.

The zip file should have a folder in it like "ThemeName-0.0.0", within that folder should be the assets, config, layout, locales, snippets, social and templates folders.

将其上传到您选择的商店中并激活.

Upload that in the store of your choice and activate.

这篇关于开始VirtoCommerce店面主题开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆