Skip to content

Instantly share code, notes, and snippets.

@pablo-sg-pacheco
Last active November 22, 2016 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pablo-sg-pacheco/83016626d0fbb2d61672 to your computer and use it in GitHub Desktop.
Save pablo-sg-pacheco/83016626d0fbb2d61672 to your computer and use it in GitHub Desktop.
Origgami Wordpress Install (using Odin and Oggone Themes)
{
"http-basic": {
"bitbucket.org": {
"username": "email@origgami.com.br",
"password": "senhanobitbucket"
}
}
}
{
"repositories": [
{
"type": "composer",
"url": "https://wp-languages.github.io"
},
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://bitbucket.org/origgamiwordpressutils/wp-own-dir-config"
},
{
"type": "vcs",
"url": "https://bitbucket.org/origgamiwpthemes/oggone"
},
{
"type": "vcs",
"url": "https://github.com/origgami/wp-programming-utils"
},
{
"type": "vcs",
"url": "https://bitbucket.org/origgamiwordpressplugins/origgami-relative-url"
},
{
"type": "vcs",
"url": "https://bitbucket.org/origgamiwordpressutils/wp-own-dir-ignore"
},
{
"type": "package",
"package": {
"name": "wpbrasil/odin",
"version": "2.3.0",
"source": {
"url": "https://github.com/wpbrasil/odin",
"type": "git",
"reference": "master"
}
}
}
],
"config": {
"preferred-install": "dist",
"vendor-dir": "wp/content/mu-plugins"
},
"require": {
"koodimonni/composer-dropin-installer": "dev-master",
"johnpbloch/wordpress": "*",
"wpackagist-plugin/contact-form-7":"*",
"wpackagist-plugin/regenerate-thumbnails":"*",
"wpackagist-plugin/contact":"*",
"wpackagist-plugin/wordpress-seo":"*",
"wpackagist-plugin/imsanity":"*",
"wpackagist-plugin/google-analytics-for-wordpress":"*",
"wpackagist-plugin/shiftnav-responsive-mobile-menu":"*",
"wpackagist-plugin/w3-total-cache":"*",
"wpackagist-plugin/wp-super-cache":"*",
"wpackagist-plugin/wp-super-cache-clear-cache-menu":"*",
"wpackagist-plugin/ios-images-fixer":"*",
"wpackagist-plugin/file-renaming-on-upload":"*",
"wpackagist-plugin/simple-page-ordering":"*",
"wpackagist-plugin/post-type-archive-links":"*",
"wpackagist-plugin/cmb2":"*",
"origgamiwputils/wp-own-dir-config":"dev-master",
"origgamiwputils/wp-own-dir-ignore":"dev-master",
"wpbrasil/odin": "2.3.0",
"composer/installers": "v1.0.12",
"origgami/oggone": "dev-master",
"origgami/wp-programming-utils": "dev-master",
"origgamiwordpressplugins/origgami-relative-url": "dev-master",
"koodimonni-language/pt_br": "*",
"vlucas/phpdotenv": "~2.4"
},
"extra": {
"installer-paths": {
"wp/content/plugins/{$name}": ["type:wordpress-plugin"],
"wp/content/themes/{$name}": ["type:wordpress-theme"],
"wp/content/mu-plugins/{$name}": ["type:wordpress-muplugin"]
},
"dropin-paths": {
"wp/content/languages/": ["vendor:koodimonni-language"],
"wp/content/languages/plugins/": ["vendor:koodimonni-plugin-language"],
"wp/content/languages/themes/": ["vendor:koodimonni-theme-language"],
"wp/content/themes/odin/": ["package:wpbrasil/odin"],
"/": ["package:origgamiwputils/wp-own-dir-config","package:origgamiwputils/wp-own-dir-ignore:.gitignore"]
},
"wordpress-install-dir": "wp/core"
}
}
@pablo-sg-pacheco
Copy link
Author

pablo-sg-pacheco commented Jul 18, 2016

PASSOS:

  1. Criar o composer.json na raiz do projeto
  2. Copiar o conteúdo que está aqui e colar nele
  3. Rodar o comando composer install na raiz do projeto

Se o composer install não funcionar, então basta seguir estes passos

  1. Criar o auth.json na raiz do projeto
  2. Copiar o conteúdo que está aqui e colar nele
  3. Alterar o arquivo colocando os seus dados de acesso do bitbucket
  4. Rodar o comando composer install na raiz do projeto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment