Slide 1

Slide 1 text

GitPython @victorneo

Slide 2

Slide 2 text

limited time learn the basics, and explore

Slide 3

Slide 3 text

install time http://python.org http://git-scm.com/

Slide 4

Slide 4 text

Python a programming language

Slide 5

Slide 5 text

dynamic typing interpreted fun? probably

Slide 6

Slide 6 text

you have all learnt programming before, so let’s head straight for a quick example

Slide 7

Slide 7 text

write a Python application to search for tweets containing #ntuoss

Slide 8

Slide 8 text

#ntuoss

Slide 9

Slide 9 text

Git source control system

Slide 10

Slide 10 text

zip les dropbox most students use to work on a team project (please don’t use them)

Slide 11

Slide 11 text

repository where your codes are stored

Slide 12

Slide 12 text

before turning into a Git repository

Slide 13

Slide 13 text

after turning into a Git repository NO DIFFERENCE

Slide 14

Slide 14 text

tracks le changes git creates a hidden directory Commit your changes and revert back anytime

Slide 15

Slide 15 text

git add . git commit print(‘Hello World’) (helloworld.py)

Slide 16

Slide 16 text

git add . git commit print(‘Hello OSS’) (helloworld.py)

Slide 17

Slide 17 text

git revert print(‘Hello World’) (helloworld.py) uncommitted changes can be lost

Slide 18

Slide 18 text

bob alice 2. git clone proj 1. git init

Slide 19

Slide 19 text

bob alice 3. git add code.py 4. git commit 4. git pull

Slide 20

Slide 20 text

bob alice server

Slide 21

Slide 21 text

Django web framework for perfectionists with deadlines

Slide 22

Slide 22 text

ORM templates caching unit tests

Slide 23

Slide 23 text

easy_install django to install Django

Slide 24

Slide 24 text

https://github.com/ victorneo/osstwitter-oct19 clone this project

Slide 25

Slide 25 text

explore git, rails, django, node.js meet rails brigade, pugs etc have fun

Slide 26

Slide 26 text

Django http://djangoproject.com/ Python User Group SG https://groups.google.com/forum/#!forum/pythonsg (we are nice people!) http://book.git-scm.com/ Git community book

Slide 27

Slide 27 text

Thank you! @victorneo