dennisdigital/polaris-drupal-project
Composer 安装命令:
composer create-project dennisdigital/polaris-drupal-project
包简介
Project template for Polaris projects with composer
README 文档
README
This project template should provide a kickstart for managing your site dependencies with Composer.
Creating new sites
First you need to install Composer and Git.
Creating the project:
composer create-project dennisdigital/polaris-drupal-project:^3.0.0 polaris --stability dev --no-interaction
If you want to check out a different version of the profile or any contrib module:
cd polaris && composer require dennisdigital/polaris:dev-[BRANCH]
If you want to run the docker image locally:
docker run -v ./[LOCAL_FOLDER]/:/var/www/polaris --rm --name polaris -p 8080:80 -d dennisdigital/drupalci:8-apache-interactive
This is useful when you want to work on the project and test changes locally. You can ssh inside the container and run the same commands as in .circleci folder.
docker exec -it polaris sh
If you want to see the site, browse http://localhost:8080
Running phpunit tests inside the container
cd /var/www/polaris
vendor/bin/phpunit
Installing Polaris
Create project will install Polaris into the web directory. You can now install Polaris as you would with any Drupal 8 site. See: Drupal installation guide. The folder name should be the repo name without -cms: Repo name: itpro-cms, folder name itpro. If you are using the Polaris Vagrant box you can run the command on /var/www/html folder. Then visit http://polaris.vm.cms.didev.co.uk. See the Readme of the Vagrant box for more info.
Installing the profile
cd /var/www/html/polaris
make site-create
This will run a site installation, initialize git and export the config.
Login into site
Login into site and add an administrator account with username: admin and password: {the usual one} which can be shared with the team for development purposes.
Commit your files
Now you need to commit your files. Remember to export a db dump.
dennisdigital/polaris-drupal-project 适用场景与选型建议
dennisdigital/polaris-drupal-project 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7.1k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 03 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dennisdigital/polaris-drupal-project 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dennisdigital/polaris-drupal-project 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 7.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-03-13