Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Jednoduché udržiavanie projektov v PHP (WebElem...
Search
Vladimír Kriška
February 07, 2013
Programming
0
200
Jednoduché udržiavanie projektov v PHP (WebElement #16)
Vladimír Kriška
February 07, 2013
Tweet
Share
More Decks by Vladimír Kriška
See All by Vladimír Kriška
Twelve-Factor app with Docker
ujovlado
0
55
Design a REST API you will love to work with
ujovlado
0
690
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
420
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
320
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
78
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
44
CSS Flexbox (WebElement #35)
ujovlado
0
110
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
110
Don't underestimate CSS (WebElement #30)
ujovlado
0
530
Other Decks in Programming
See All in Programming
CSC509 Lecture 09
javiergs
PRO
0
140
C++でシェーダを書く
fadis
6
4.1k
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.7k
Outline View in SwiftUI
1024jp
1
320
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
役立つログに取り組もう
irof
28
9.6k
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Side Projects
sachag
452
42k
Scaling GitHub
holman
458
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Language of Interfaces
destraynor
154
24k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Agile that works and the tools we love
rasmusluckow
327
21k
Transcript
Udržiavanie projektov v PHP WebElement #16
Klasický prípad • vyvíjam na localhoste • dokončím ... •
otvorím Total Commander, nakopírujem ... • opravím ... • otvorím Total Commander, nakopírujem ... • opravím ... • ...
A potom ... • volal klient, je tam chyba, treba
to rýchlo fixnúť • jj, ok idem na to • a keďže to treba rýchlo, tak to fixnem na live
A potom ... • klient potrebuje nový modul, nakóďte to
• jj, ok, ideme na to • je to hotové, otvorím Total Commander, nakopírujem ... • a fix z minula je v prdeli • volá klient
A potom ...
Zariaďte si • VCS (najlepši distribuovaný) • SSH • DB
migrácie
VCS • aby sa release robil priamo z nejakého repo
alebo branch • pozor na .hg .git .svn • dá sa verzovať aj priamo na serveri
SSH • ssh • ssh-copy-id • sshfs • curlftpfs
DB migrácie • spúšťať SQL na live DB je zloba
• použite napr. tie, čo má Yii
Release - teória • získaj aktuálnu verziu z repo •
"dostaň" ju na live • spusti migrácie Takto nejako: • ssh vlado@server • get-version-from-repo && migrate
Ukážka • ...
Next steps • Google -> Continuous Integration
Ďakujem Otázky?