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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Roger Camargo
April 11, 2016
Technology
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Roger Camargo
See All by Roger Camargo
AWS Lambda, Rodar local, com testes, IaC e Deploy via ansible
huogerac
1
39
Mapa de estudo dev frontend 2023
huogerac
1
97
Documentando API no Django com django-ninja
huogerac
1
140
Um pouco da origem para chegar no WSGI
huogerac
0
56
"API Design First" pt-br
huogerac
0
290
Design First Web APIs - OpenAPI 3
huogerac
1
120
3 Arquiteturas Django
huogerac
1
350
Django ORM vs SQLAlchemy (queries)
huogerac
0
210
Django ORM vs SQLAlchemy (intro)
huogerac
0
110
Other Decks in Technology
See All in Technology
Digitization部 紹介資料
sansan33
PRO
2
7.7k
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
100
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
460
APIセキュリティを組織で実現するには~注力する点と設計・実装に入れたい対策~
riiimparm
1
200
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
20k
:syncing_time:
sksat
2
780
Data Hubグループ 紹介資料
sansan33
PRO
0
3.2k
紙 to デジタル
ichien178
0
220
VPCでもFloatingIPを使いたいんだ
y_kotani
1
100
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
1
630
Kiro5兄弟のいまどきのセキュリティ基礎知識
kentapapa
0
330
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
0
820
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.5k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
350
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
580
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
490
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