drupal/drutopia_dev_template
Composer 安装命令:
composer create-project drupal/drutopia_dev_template
包简介
Project template for development versions of Drupal 10 Drutopia projects.
README 文档
README
This is a composer based installer for developers working on the Drutopia distribution.
Prerequisites
The development environment of your choice or simply PHP (7.2+ preferred) and Composer (preferably installed globally).
Installation of Drutopia for development
No need to download this project; Packagist will handle that for you.
composer create-project drutopia/drutopia_dev_template:dev-master --no-interaction --keep-vcs drutopia-dev-site
Composer will create a new directory called my-drutopia-dev-site (change to whatever name you would like). Inside you will find the web directory with the entire code base of Drutopia distribution. You should be able to install it like any other Drupal site.
To use PHP's built-in webserver and SQLite:
cd drutopia-dev-site/web
php -S localhost:8008
Then open localhost:8008 in your browser and follow Drupal's installation instructions, leaving database connection information at its default.
If at any point you want to delete your database so you can start development fresh with a new install you can rm web/sites/default/files/.ht.sqlite.
Updating Drutopia for development
cd drutopia-dev-site
git pull
composer update
And likely deleting the database and starting fresh, or at least running drush updb.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-07-12