wecodemore / astrofields-devstack
AstroFields 开发栈
dev-master
2015-01-05 14:34 UTC
Requires
- php: >=5.4
- johnpbloch/wordpress: ~4.1
- manovotny/wptest: *
- psy/psysh: ~0.3
- vlucas/phpdotenv: ~1.1
- wecodemore/astrofields-comments: *
- wecodemore/astrofields-core: *
- wecodemore/astrofields-html5: *
- wecodemore/astrofields-options: *
- wecodemore/astrofields-postmeta: *
- wecodemore/astrofields-public-form: *
- wecodemore/astrofields-security: *
- wecodemore/astrofields-settings: *
- wecodemore/astrofields-standards: *
- wecodemore/astrofields-usermeta: *
- wecodemore/wp-cli-composer: ~1.0
- wecodemore/wp-composer-config: ~1.0
Requires (Dev)
- rarst/toolbar-theme-switcher: ~1.2
- wecodemore/astroexamples-comments: *
- wecodemore/astroexamples-metabox: *
- wecodemore/astroexamples-settings-section: *
- wecodemore/astroexamples-usermeta: *
- wecodemore/current-admin-info: *
- wpackagist-plugin/core-control: ~1.1
- wpackagist-plugin/monster-widget: ~0.3
- wpackagist-plugin/user-switching: ~1.0
- wpackagist-plugin/wcm-user-language-switcher: ~1.7
- wpackagist-plugin/wordpress-importer: ~0.6
- wpackagist-theme/twentyeleven: ~2.0
- wpackagist-theme/twentyfifteen: ~1.0
- wpackagist-theme/twentyfourteen: ~1.3
- wpackagist-theme/twentyten: ~1.8
- wpackagist-theme/twentythirteen: ~1.4
- wpackagist-theme/twentytwelve: ~1.6
This package is not auto-updated.
Last update: 2024-09-10 03:12:33 UTC
README
AstroFields 库和插件的开发基本环境。
要求
Composer, Vagrant & Puppet
如何
启动虚拟机/盒子
vagrant up
在 PuPHPet 上更改您的盒子配置。更改配置后进行配置。
vagrant provision
添加 WP-CLI 自动完成
composer wp-cli-bash
添加 wp-config.php
- 按照CLI中的设置步骤进行操作
composer wp-config
通过复制并将 .env.example
文件重命名为 .env
来添加 .env
文件。仅在此处更改所有 WordPress 配置设置。
访问
打开您的浏览器并转到
http://astro.dev
默认值
WordPress 默认设置都在 .evn.example
文件中。更改您需要的内容,以便在测试期间快速重现不同的设置。从值中删除值和 =
将 省略 设置,并因此回退到 WordPress 内部默认值。
默认主题是 TwentyThirteen(因为我认为 TwentyFourteen 很丑)。它通过 Composer 安装为 wpackagist-theme
。要更改它,修改 composer.json
文件或简单地添加您喜欢的主题。您可以设置 wp.org 仓库中几乎每个主题。这使得在出现错误报告时测试兼容性变得容易,并且非常方便。
许可证
MIT - 就这么简单