定制 contao/contao-demo 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

contao/contao-demo

最新稳定版本:5.6

Composer 安装命令:

composer require contao/contao-demo

包简介

This is an example website for Contao, a powerful open source CMS that allows you to create professional websites and scalable web applications.

README 文档

README

Contao Open Source CMS Logo

Contao Demo Website

This is an example website for Contao, a powerful open source CMS that allows you to create professional websites and scalable web applications.

packagist version license amount of downloads

demo-preview.jpg

About

On the demo website, you will find demonstrations and examples of some of the features this CMS has to offer. The Contao demo website can be added when installing the CMS and is designed to help you get started with your first web projects.

Visit the project website to learn more about Contao.

Table of contents

Versions

The demo website is maintained for the currently supported Contao versions. See the Contao release plan for details. Each version has a separate branch in this Git repository.

We also have rolling release tags. This means the latest commit on each branch is tagged with the respective Contao minor release. As an example, the branch "5.3.x" has a tag "5.3" on the latest commit. These tags enable you to install the latest demo content for any Contao minor version.

Installation

The demo website can be installed alongside Contao, either through the Contao Manager or with Composer on the command line.

On the Contao Manager

When installing a fresh Contao application, select the desired version and check the "Install the Contao demo website" checkbox. Make sure to also import the database backup when the Contao Manager asks you to. That's it!

Using Composer

This repository functions as a Composer project. You can install a full Contao application and this demo using the create-project command. We're assuming here you are familiar with the command line and Composer and have a functioning PHP and webserver setup.

  1. Run the following command to create your project
    composer create-project contao/contao-demo:5.3 your-new-website
    
  2. Connect the database e.g. through DATABASE_URL in your .env.local file.
    # env.local / make sure to use the correct parameters
    DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name"
  3. Import the database backup using the following command
    php vendor/bin/contao-console contao:backup:restore
    
  4. Finalize the database and run the migrations
    php vendor/bin/contao-console contao:migrate
    
  5. Optional: create a separate back end user account and follow the instructions in your CLI
    php vendor/bin/contao-console contao:user:create
    

Login

Once the official Contao demo is installed, access the backend with any of the following credentials:

Role User Password
Administrator k.jones kevinjones
Editor h.lewis helenlewis
Editor j.wilson jameswilson

Contributing

We use GitHub to collect issues and feature requests for the demo website. Feel free to open issues if you have found a typing mistake or have ideas for new example content.

For general questions about Contao or the demo, please refer to the community forums or our Slack channel.

License

The Contao demo website is licensed under the terms of the CreativeCommons Attribution-ShareAlike 4.0 (CC-BY-SA-4.0) license.

TL;DR You are free to use the Contao demo website as a base for any website you build, even commercially. However, you must give appropriate credit, provide a link to the license, and indicate if changes were made. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.

Credits

The screendesign for the Contao Official Demo was sponsored by the Contao Association and borowiakziehe KG. It has been designed by Dennis Weinhardt whom we would like to thank for the great work.

The Contao demo website is maintained by volunteers of the respective Contao team. It supersedes the Contao Official Demo, our previous Contao example website. Many thanks to the Official Demo team for their contributions in the past.

统计信息

  • 总下载量: 6.43k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 9
  • 开发语言: SCSS

其他信息

  • 授权协议: CC-BY-SA-4.0
  • 更新时间: 2023-10-13