Web
Programming

Fall 2012
course
navigation

Nov 8

Monday's assignment has been posted.
Questions about anything so far?

git

First, I think it's time you started playing around with a version control system, if you haven't before.
Git is a very common choice these days, and so let's use that one.
See
Here's a walk-through of some of the very basics:
# create a demo project folder $ mkdir my_project; cd my_project $ echo "It's just a demo project" > README.txt $ echo "This is a file." > file.txt # now turn it into a git repository. $ git init $ ls -al . .. .git # "git init" created this. README.txt file.txt # save everything to the local .git repository $ git add * # schedule all files to be added to repo ("staging") $ git commit -m "first commit" # other things to try along the way $ git help $ git status $ git log
Concepts:
Examples:

flask

continue with Nov 6 notes : routes, templates
Browse through http://flask.pocoo.org/ and talk about what's there.
Now look back at main file, routes, & templates in brighton.org's github site. Note the use of (a) virtualenv to install python packages (we'll go over that another time), (b) markdown (becoming more common now that github is using it) for editing minutes of meetings.
http://cs.marlboro.edu/ courses/ fall2012/web/ notes/ Nov_8
last modified Thursday November 8 2012 3:21 pm EST