Slide 1

Slide 1 text

Deploy Django on Windows Azure web sites in 5 minutes by @tzangms

Slide 2

Slide 2 text

Start from scratch you can deploy django from library in 1 minutes

Slide 3

Slide 3 text

musician @tzangms CTO of StreetVoice 小海

Slide 4

Slide 4 text

I won’t Live Demo today

Slide 5

Slide 5 text

What PaaS I’ve used •Heroku •AppEngine •dotcloud •AWS •ep.io (dead) •djangy (dead)

Slide 6

Slide 6 text

What I like in Azure

Slide 7

Slide 7 text

Nice Dashboard

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Easy deployment just a few clicks

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Then it’s automatic!

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Visual Studio is too complicated for me So I stick with the command line.

Slide 14

Slide 14 text

Important Concept

Slide 15

Slide 15 text

You have to commit python packages in `site-packages`

Slide 16

Slide 16 text

$ pip install \ -t site-packages -t = target

Slide 17

Slide 17 text

Dir Structure and that’s the site-packages I just mentioned

Slide 18

Slide 18 text

Quick Start

Slide 19

Slide 19 text

tzangms/django-azure-template github.com I already made a django template

Slide 20

Slide 20 text

Follow the steps in README

Slide 21

Slide 21 text

Then your will get this page

Slide 22

Slide 22 text

Configuration in official document

Slide 23

Slide 23 text

You don’t have to do these settings

Slide 24

Slide 24 text

You need web.config

Slide 25

Slide 25 text

There is more but I did not test it yet.

Slide 26

Slide 26 text

Storage there is django-storages

Slide 27

Slide 27 text

SQL Server there is django-mssql

Slide 28

Slide 28 text

Thanks!