Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulo-correia/wp_composer_install
WordPress Installation with Composer
https://github.com/paulo-correia/wp_composer_install
composer install wordpress
Last synced: 3 days ago
JSON representation
WordPress Installation with Composer
- Host: GitHub
- URL: https://github.com/paulo-correia/wp_composer_install
- Owner: paulo-correia
- Created: 2019-12-26T15:51:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-26T16:05:46.000Z (about 5 years ago)
- Last Synced: 2024-11-21T06:37:48.206Z (2 months ago)
- Topics: composer, install, wordpress
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pré Requisitos:
PHP
Composer https://getcomposer.org/
Editor de Texto de sua preferênciaEstá é a instalação **sempre** da última versão do WordPress no diretório onde estiver este config.json:
```
{
"name": "paulo-correia/wp_composer_install",
"description": "Instalação do WordPress com o Composer",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Paulo Correia",
"role": "Developer",
"homepage": "https://github.com/paulo-correia"
}
],
"config": {
"vendor-dir": "vendor"
},
"repositories": [
{
"type": "package",
"package": {
"name": "paulo-correia/wordpress-pt_br",
"version": "master",
"dist": {
"type": "zip",
"url": "https://br.wordpress.org/latest-pt_BR.zip",
"reference": "master"
}
}
},
{
"type":"composer",
"url":"https://wpackagist.org"
}
],
"require": {
"koodimonni/composer-dropin-installer": "dev-master",
"paulo-correia/wordpress-pt_br": "dev-master"
},
"extra": {
"dropin-paths": {
"/": ["vendor:paulo-correia"]
}
}
}```
Caso queira pode inserir um plugin ou um tema, bastando alterar o config.json adicionando uma virgula após o ```"paulo-correia/wordpress-pt_br": "dev-master"```, inserindo uma nova linha e nesta colocar o tema ou plugin que quer instalar junto, exemplo:
```
"paulo-correia/wordpress-pt_br": "dev-master",
"wpackagist-theme/hueman":"*"
```
Neste exemplo vai istalar o tema hueman.Mais temas e plugins em [WordPress Packagist](https://wpackagist.org/)
Este json, foi baseado na idéia do [rudwolf](https://github.com/rudwolf) repositório: [base-wp-repo](https://github.com/rudwolf/base-wp-repo/tree/language_version/pt_BR)