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
Простой и удобный деплоймент проекта
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Moscow Python Meetup
PRO
April 05, 2012
Programming
2.7k
0
Share
Простой и удобный деплоймент проекта
Михаил Корнеев
Как разворачивать приложения на питоне с помощью git и fabric.
Moscow Python Meetup
PRO
April 05, 2012
More Decks by Moscow Python Meetup
See All by Moscow Python Meetup
Moscow Python Meetup №109. Георгий Дьячков (Альфа банк, Главный разработчик). Векторные базы в агентной архитектуре и как изменятся вопросы на собеседованиях в 2026
moscowdjango
PRO
0
19
Moscow Python Meetup №109. Евгений Блинов (The Mutating Company). Ближайшее будущее мутационного тестирования на Python
moscowdjango
PRO
0
17
Moscow Python Meetup №108. Воркшоп "Построение AI-агента: Говори с данными на языке бизнеса"
moscowdjango
PRO
0
57
Moscow Python Meetup №108. Gather. Inspire. Deliver.
moscowdjango
PRO
0
47
Moscow Python Meetup №107. Бесшовные релизы глазами разработчика: обновляем код Облака без API
moscowdjango
PRO
0
48
Moscow Python Meetup №107. Django Blue-Green Migrations
moscowdjango
PRO
0
38
Moscow Python Meetup №107. Суперсжатые полнотекстовые индексы
moscowdjango
PRO
0
60
Moscow Python Meetup №106. Евгений Блинов (The Mutating Company, Founder). Суперфункции
moscowdjango
PRO
0
110
Moscow Python Meetup №106. Валерий Карпузов (SmartFX, Team Lead). Пиши, сокращай — Code Golf на Python
moscowdjango
PRO
0
130
Other Decks in Programming
See All in Programming
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
150
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
200
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
440
安いハードウェアでVulkan
fadis
1
900
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
500
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
170
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
120
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
180
モダンOBSプラグイン開発
umireon
0
200
20260320登壇資料
pharct
0
160
AIエージェントで業務改善してみた
taku271
0
460
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
330
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
300
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Accessibility Awareness
sabderemane
0
93
Technical Leadership for Architectural Decision Making
baasie
3
310
AI: The stuff that nobody shows you
jnunemaker
PRO
4
520
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Site-Speed That Sticks
csswizardry
13
1.1k
Leo the Paperboy
mayatellez
6
1.6k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
670
Transcript
ПРОСТОЙ И УДОБНЫЙ ДЕПЛОЙМЕНТ ПРОЕКТА МИХАИЛ КОРНЕЕВ
ДЛЯ НАЧИНАЮЩИХ
KISS
KISS E E P
KISS E E P I T
KISS E E P I T S I M P
L E
KISS E E P I T S I M P
L E S T U P I D
ИСПОЛЬЗУЕМ DCVS 1. Git – git-scm.com 2. Mercurial - mercurial.selenic.com
3. Не знаете, что выбрать? Выбирайте Git! 4. Используйте, даже если работаете один
ТРИ РЕПОЗИТОРИЯ 1. Локальный репозиторий на рабочем компьютере 2. Центральный
репозиторий «где-то в интернете» 3. Репозиторий в папке вашего приложения на сервере
МАСШТАБИРУЕМОСТЬ
СТАВИМ FABRIC www.fabfile.org
УПРОЩАЕМ СЕБЕ ЖИЗНЬ 1. Настраиваем авторизацию по сертификату 2. Создаем
файл fabfile.py в корне проекта from fabric.api import * env.hosts = [’
[email protected]
'] def deploy(): local('hg push’) with cd('/home/mike/project'): run('hg pull -u') run('./manage.py syncdb') run('./manage.py migrate') run('touch /home/mike/docroot/django.wsgi')
FAB DEPLOY!
ВОПРОСЫ? Михаил Корнеев GreenfieldProject +7 (915) 057-9743
[email protected]