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
Damián Culotta
November 16, 2017
Technology
55
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
More Decks by Damián Culotta
See All by Damián Culotta
¿Cómo elegir mi plataforma de ecommerce?
barbanet
0
78
Continuous delivery
barbanet
0
48
Equivocándome con Magento
barbanet
0
42
Other Decks in Technology
See All in Technology
パッチ更新でterraform initが落ちた日
grimoh
1
140
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
830
Running Kotlin + Quarkus with Lambda
nealle
1
4k
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
300
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
470
専門領域のAIをどう評価するか
bengo4com
2
290
USB PDを使ってスマホを労わりたい
raspython3
0
180
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
230
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
120
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
190
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
400
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
300
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Embracing the Ebb and Flow
colly
88
5.2k
Making the Leap to Tech Lead
cromwellryan
135
10k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
The Invisible Side of Design
smashingmag
301
52k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
ラッコキーワード サービス紹介資料
rakko
1
5.4M
How to Think Like a Performance Engineer
csswizardry
28
2.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Transcript
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?