Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pequeñas delicias de la vida conyugal (con Comp...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Damián Culotta
November 16, 2017
Technology
57
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pequeñas delicias de la vida conyugal (con Composer)
Damián Culotta
November 16, 2017
Transcript
57 slides
Meet Magento 2017 Pequeñas delicias de la vida conyugal (con
Composer)
2 Damián Culotta www.damianculotta.com.ar @barbanet
“In theory, there is no difference between theory and practice.
But, in practice, there is.” Jan L.A van de Snepscheut 3
4
5
6
None
None
None
None
None
None
None
None
15 Módulos de Terceros (No… no shores)
None
None
None
None
None
None
None
23
24 Magento 1 y Composer (Noticias de ayer)
None
None
None
None
None
None
None
None
None
None
35 Composer y los módulos Custom (No todos los Demodogs
van al cielo)
None
37 Pero mis módulos son privados (Buscando soluciones para la
cartera de la dama y el bolsillo del caballero)
38 Satis
composer create-project composer/satis --stability=dev --keep-vcs . bin/satis init Instalación 39
{ "name": "Mi repositorio Composer local", "homepage": "http://satis.localhost", "repositories": [],
"require-all": true } Instalación 40
bin/satis add
[email protected]
:barbanet/magento2-module1.git bin/satis add
[email protected]
:barbanet/magento2-module2.git Configuración 41
{ "name": "Mi repositorio Composer local", "homepage": "http://satis.localhost", "repositories": [
{ "type": "vcs", "url": "
[email protected]
:barbanet/magento2-module2.git" }, { "type": "vcs", "url": "
[email protected]
:barbanet/magento2-module1.git" } ], "require-all": true } Configuración 42
Uso 43
{ "repositories": [ [ "type": "composer", "url": "http://satis.localhost" ] ],
"config": [ "secure-http": false ] } Configuración 44
45 No hay motivo para que hayan proyectos SIN COMPOSER
46 Ideas para automatizar Crear repositorio vía API.
47 Ideas para automatizar git clone
[email protected]
:usuario/' . $project .
'.git ' . $project
48 Ideas para automatizar $composer_template = '{ "require": { "magento-hackathon/magento-composer-installer":
"~3.0", "aydin-hassan/magento-core-composer-installer": "~1.2", "firegento/magento": "~1.9.3.6" }, "extra": { "magento-root-dir": ".", "magento-deploystrategy": "copy" } }'; cd " . $project . " && echo '" . $composer_template . "' > composer.json
49 Ideas para automatizar cd ' . $project . '
&& composer update -n
50 Ideas para automatizar $gitignore_template = '/vendor'; cd " .
$project . " && echo '" . $gitignore_template . "' > .gitignore
51 Ideas para automatizar cd ' . $project . '
&& git add -A
52 Ideas para automatizar cd ' . $project . '
&& git commit -m "Initial import"
53 Ideas para automatizar cd ' . $project . '
&& git push origin master
54 Ideas para automatizar rm -Rf ' . $project
55 Pssst composer require mikehaertl/php-shellcommand
56 ¿Y qué más puedo hacer?
57 ¡Muchas gracias! ¿Preguntas?
More Decks by Damián Culotta
See All by Damián Culotta
¿Cómo elegir mi plataforma de ecommerce?
barbanet
0
80
Continuous delivery
barbanet
0
50
Equivocándome con Magento
barbanet
0
45
Other Decks in Technology
See All in Technology
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
740
猫でもわかるKiro初心者編(2026年11月版)
kentapapa
1
110
NutanixへのSSHアクセスの今後について
shadowhat
0
190
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
1k
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
AIエージェントのアーキテクチャ設計
nsatoh
0
590
Metadata - Section 4 : MODS (Metadata Object Description Schema )
mohab1
0
150
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
140
コーディングできない僕にBobが舞い降りた
shumpei3
0
220
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
340
Featured
See All Featured
HDC tutorial
michielstock
2
1k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
850
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
570
エンジニアに許された特別な時間の終わり
watany
109
250k
Paper Plane (Part 1)
katiecoart
PRO
3
12k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Scaling GitHub
holman
464
140k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480