Boston Python Workshop/Friday handout

From OpenHatch wiki
Revision as of 22:45, 1 March 2011 by imported>Paulproteus (→‎Python (M)

Objective

After going through this setup document, you will have a Python, git, and Django environment that lets you write Python code locally. You will be able to use Github.com and git to track changes to the code you write.

This document is available on the web; if you have a printed copy, you can see the URL on the last page. You can always refer back to it, or show it to other people.


ColorWall Setup

The ColorWall project has no dependencies on common, modern Linux, OS X, and Windows distributions. To confirm that you have no dependencies to install, run:

import Tkinter

at a Python prompt. If that command results in an ImportError, let a staff member know and we'll help get your dependencies set up.


Section 1: Accounts on the web

Time: 15 minutes, hopefully.

You're going to need accounts on:

  • Alwaysdata.com: This is a French web hosting company. Their free account level has Django support, so you'll use it to run your code and let other people access it over the web.
  • Github.com: This is the most popular hosting company for git, a popular version control system. You will use them to store versions of your code.

Alwaysdata account

Alwaysdata.com lets you create a free hosting account. You'll give them your name and email address and set a password that you'll use to log into the account.

Note: They will send you your password by email. If you feel queasy about receiving your password by email, then use one that you don't mind receiving.

On the back of this piece of paper, take a moment to write down the username, email address, and maybe password that you used to sign up for the Alwaydata.com account.

Github.com

Github.com is the most popular git-based service you can use to store files.


Section 2: Installing software

First, determine your operating system

Different OSs have different ways to install things.

Python

  • FIXME

Git

Django modules

  • also epic FIXME

Section 3: Configuring your accounts on the web

Alwaysdata

  • Enable SSH access

Github

Friday is over

Chat with us! Ask questions! Go home!

Love,

Boston Python Workshop staff.

FIXME