neos/demo
Composer 安装命令:
composer require neos/demo
包简介
Site package for the Neos Demo Site
README 文档
README
This is the default site package installed with the Neos base distribution. With this package, you can quickly have a look into how easy content can be generated and changed. It also shows the basic concepts of how to build a site package with custom node types and plugins.
Use exported Neos.Demo content for setting up a new Neos 9 test project
Please follow these steps after composer install:
./flow doctrine:migrate./flow user:create --roles="Neos.Neos:Administrator" <username> <password> <first name> <last name>./flow cr:setup./flow cr:import resource://Neos.Demo/Private/ContentTODO adjust after solving neos/neos-development-collection#4918 Connect to a Neos site./flow site:create neosdemo Neos.Demo Neos.Demo:Document.Homepage
Hint: This will probably change in the future as we still have to work on the setup process.
About the frontend build stack
We included a frontend build stack based on Node.js, NVM, esbuild, PostCSS and Yarn.
Installation
Make sure that Node.js and Yarn are installed. It is recommended to use NVM to manage versions of the Node.js versions.
# Enable the correct nvm nvm use # Install the package dependencies yarn
Commands
| Command | Description |
|---|---|
yarn build |
Builds all assets |
yarn pipeline |
Runs install and then build all assets |
yarn start |
Watches the sources and rebuilds assets on change |
Package management
The dependencies are stored in the package.json file, so if you edit any config, or need new packages, you have to add them to this file. You can read more about this here.
Explanation of the config files
| Filename | Explantion |
|---|---|
.editorconfig |
Helps maintain consistent coding styles |
.eslintignore |
These files get ignored from ESLint |
.eslintrc |
The configuration file for ESLint, a pluggable Javascript linter |
.nvmrc |
This file contains the required Node.js version and is used by NVM |
.postcssrc.js |
The configuration for PostCSS |
.prettierignore |
These files gets excluded from the Prettier code formatting |
.prettierrc |
This is the configuration file for Prettier |
.stylelintrc |
This is the configuration file for Stylelint |
.yarnclean |
Cleans and removes unnecessary files from package dependencies |
esbuild.mjs |
Configuration for esbuild |
yarn.lock |
This is the lockfile for Yarn. This is needed to get consistent installs across machines |
neos/demo 适用场景与选型建议
neos/demo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 188.02k 次下载、GitHub Stars 达 18, 最近一次更新时间为 2016 年 04 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 neos/demo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 neos/demo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 188.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 14
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2016-04-24