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
Deploy de uma aplicação django no openshift
Search
Roger Camargo
April 11, 2016
Technology
0
130
Deploy de uma aplicação django no openshift
Uma visão geral das etapas para fazer deploy da sua aplicação Django no openshift
Roger Camargo
April 11, 2016
Tweet
Share
More Decks by Roger Camargo
See All by Roger Camargo
Mapa de estudo dev frontend 2023
huogerac
1
66
Documentando API no Django com django-ninja
huogerac
1
95
Um pouco da origem para chegar no WSGI
huogerac
0
22
"API Design First" pt-br
huogerac
0
240
Design First Web APIs - OpenAPI 3
huogerac
1
76
3 Arquiteturas Django
huogerac
1
220
Django ORM vs SQLAlchemy (queries)
huogerac
0
150
Django ORM vs SQLAlchemy (intro)
huogerac
0
85
Site Imobiliario Django
huogerac
0
81
Other Decks in Technology
See All in Technology
UI State設計とテスト方針
rmakiyama
4
910
多領域インシデントマネジメントへの挑戦:ハードウェアとソフトウェアの融合が生む課題/Challenge to multidisciplinary incident management: Issues created by the fusion of hardware and software
bitkey
PRO
2
140
30分でわかるデータ分析者のためのディメンショナルモデリング #datatechjp / 20250120
kazaneya
PRO
4
820
ガバナンスを支える新サービス / New Services to Support Governance
sejima1105
1
700
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
3
700
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
42
18k
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
28
24k
Qiita埋め込み用スライド
naoki_0531
0
5.4k
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
3
400
OPENLOGI Company Profile for engineer
hr01
1
17k
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
540
Unlearn Product Development - Unleashed Edition
lemiorhan
PRO
2
150
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Fireside Chat
paigeccino
34
3.1k
The Cost Of JavaScript in 2023
addyosmani
46
7k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Building Applications with DynamoDB
mza
92
6.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Agile that works and the tools we love
rasmusluckow
328
21k
The Invisible Side of Design
smashingmag
299
50k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Automating Front-end Workflow
addyosmani
1366
200k
Transcript
Deploy de uma aplicação django no openshift Roger Camargo GruPy
SP - Abril 2015
Motivações
Motivações #1 Estrutura não padrão (template django) #2 Repositório Git
#3 Onde usar
None
PaaS Openshift
Live demo https://openshift.redhat.com/app/console
#1 Write once run anywhere
None
None
Nova estrutura Tentativa de deixar mais no padrão django (two
scoops of django)
Base do openshift packages = ['Django==1.6.6', ] setup(name='myproject', version='1.0', description='OpenShift
App', author='Roger Camargo', author_email='
[email protected]
', url='https://pypi.python.org/pypi', install_requires=packages, )
Base do openshift os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings.openshift") from django.core.wsgi import get_wsgi_application application
= get_wsgi_application()
Estrutura padrão de um projeto Django
#2 Repositorio Git
APLICAÇÃO repo Dev git clone
APLICAÇÃO repo Dev git clone Dev 2 Dev 3 Dev
4
APLICAÇÃO repo Dev git clone Dev 2 Dev 3 Dev
4 Mas eu quero usar GitHub
APLICAÇÃO repo Dev git push Dev 2 Dev 3 Dev
4 git clone
#3 Onde usar?
#3 Onde usar? - Blog, pagina pessoal - MVP, POC
- Como CI etc...
None
Perguntas?
Obrigado! Roger Camargo
[email protected]
@huogerac github.com/huogerac https://github.com/huogerac/django16-openshift-template