dev7ch/vertico
Composer 安装命令:
composer create-project dev7ch/vertico
包简介
LUYA CMS boilerplate to kickstart your project with Verti theme by HTML5UP.
README 文档
README
Features
- Complete LUYA CMS integration
- Fully responsive and ready to use
- Admin area integration
- Customizable blocks with drag 'n' drop support
- Multi level navigation included
- SCSS and Gulp worklfow included
Installation
1.) Create project with composer, fork repository or clone from git
Creating a new project from packagist is recommend.
composer create-project dev7ch/vertico
Or you can also clone the git repository into your web root folder.
git clone git@github.com:dev7ch/vertico.git vertico
2.) Get all dependencies ready for setup via composer
Navigate to the new created project root.
composer install
Find more detailed informations and help at LUYA CMS Install Guide.
3.) Rename distributed config files and create database
Navigate from your project root into the configs/ folder.
cd configs
cp env.php.dist env.php
cp env-local-db.php.dist env-local-db.php
Create a new, empty database and make sure that in configs/env-local-db.php the user and password for the database connection is properly set.
Rename example database in configs folder (optionally):
cp luya_vertico_demo.sql.dist luya_vertico_demo.sql
Import luya_vertico_demo.sql into your previously created database.
Of course you can start without a demo DB but it helps to see and understand the features of this theme.
4.) Run LUYA CMS setup
As all went fine navigate back to your project root and run the LUYA CMS setup commands.
cd ..
./vendor/bin/luya migrate
./vendor/bin/luya import
You could check the health of the cms system like this:
./vendor/bin/luya health
Finally adding a new admin user to your cms is required to log in to the admin interface.
If you imported luya_vertico_demo.sql use:
./vendor/bin/luya admin/setup/user
If you started with an empty database simply run:
./vendor/bin/luya admin/setup
Please have a look at the Luya Guide if you have any problems.
5.) Done! Login to your new Website
If all went fine and no error's shown in Terminal head over to your new website.
Front-End
Vertico is a modern, fully responsive theme by HTML5 UP.
Libraries
These frontend libraries are included and available.
» jQuery (yii\web\JqueryAsset)
» Fontawesome Icons
» Skell Responsive Framework
Compiling
We have created our own NPM Package that includes our gulp workflow.
Inside the resources/ folder, everything is prepared.
cd resources
npm install
npm install gulp
See zephir/zephir-gulp-workflow for a full documentation of the workflow.
Backend
Assets
To speed up your local development you can uncomment the following lines in configs/env-local.php in order to use symlinking your assets instead of copy them every run.
'assetManager' => [ 'class' => 'luya\web\AssetManager', 'linkAssets' => true, ],
Now all assets will be symlinked and not copied.
This will also enable CSS instant reload provided by
browserSync(gulp).
dev7ch/vertico 适用场景与选型建议
dev7ch/vertico 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 06 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dev7ch/vertico 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dev7ch/vertico 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-08
