www.20tab.com/startup-growth
[email protected]
Corpo livello uno
Corpo livello due
Corpo livello tre
Corpo livello quattro
Corpo livello cinque
Titolo Testo
www.20tab.com
20tab.com @raffaelecox | @20tab
rafleze | 20tab
/raffaele-colace
[email protected]
How to start a Django
project in less than a
minute!
@raffaelecox | @twentytab
www.20tab.com
Problem
Start project with:
• different approaches
• different configurations
• different structures
and without a method for:
• automatic deploy
• quality assurance
Slide 15
Slide 15 text
www.20tab.com
At the beginning
Slide 16
Slide 16 text
www.20tab.com
Slide 17
Slide 17 text
www.20tab.com
Now
Slide 18
Slide 18 text
www.20tab.com
Slide 19
Slide 19 text
www.20tab.com
The first approach
Slide 20
Slide 20 text
www.20tab.com
Slide 21
Slide 21 text
www.20tab.com
Slide 22
Slide 22 text
www.20tab.com
Slide 23
Slide 23 text
www.20tab.com
Slide 24
Slide 24 text
www.20tab.com
The second approach
Slide 25
Slide 25 text
www.20tab.com
The second approach
•django-admin startproject --template
•default requirements.txt
•quick setup on local environment
•quick start on local uwsgi server
Slide 26
Slide 26 text
www.20tab.com
The second approach
• standard process
• local server configuration
• remote servers configuration
• CI configuration
• deploy process
Slide 27
Slide 27 text
www.20tab.com
Slide 28
Slide 28 text
www.20tab.com
Needs???
Slide 29
Slide 29 text
www.20tab.com
Required environments
• Development
• User Acceptance Testing
• Staging
• Production (same as Staging)
• develop
• develop
• master
• master
Slide 30
Slide 30 text
www.20tab.com
Required environments
Source Test Build
Development
User Acceptance
Testing
Approval Staging
Approval
Production
Approval
Slide 31
Slide 31 text
www.20tab.com
Required environments
Source Test Build
Development
User Acceptance
Testing
Approval Staging
Approval
Production
Approval
Slide 32
Slide 32 text
www.20tab.com
Needs
• Quick installation on local environment
• Quick and standard configuration
• Simple requirements management
• Some automatism for front-end development
• Simple testing process
• CI configuration
• Deploy process
Slide 33
Slide 33 text
www.20tab.com
Solution
django-uwsgi-template
Slide 34
Slide 34 text
www.20tab.com
Prerequisites
https://uwsgi-docs.readthedocs.io/en/latest/
django-emperor-mode
on GitHub
www.20tab.com/startup-growth
[email protected]
Corpo livello uno
Corpo livello due
Corpo livello tre
Corpo livello quattro
Corpo livello cinque
Titolo Testo
www.20tab.com
20tab.com @raffaelecox | @20tab
rafleze | 20tab
/raffaele-colace
[email protected]
Thank you!
@raffaelecox | @twentytab