Permalink
Browse files

A couple tweaks to pre-class setup.

  • Loading branch information...
1 parent e26272e commit bedcd0bc0855eb6c419abad9d8f66d401470db6c @jacobian jacobian committed Mar 10, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 notes/pycon2011/script.txt
@@ -21,10 +21,11 @@ Boot::
local$ cd vagrant
local$ vagrant up
-Hostname (for prompts); better tab completion::
+Update apt; hostname (for prompts); better tab completion::
- <all>$ sudo hostname <whatever>
- <all>$ sudo aptitude install bash-completion
+ <all>$ aptitude update
+ <all>$ hostname <whatever>
+ <all>$ aptitude install bash-completion
<all>$ echo ". /etc/bash_completion" >> ~/.bashrc
Hosts file for easier web-ing::
@@ -39,7 +40,6 @@ Hosts file for easier web-ing::
Bootstrap up the example app::
web1$ mkdir -p /home/web
- web1$ aptitude update
web1$ aptitude install git-core python-dev python-setuptools \
postgresql-dev postgresql-client build-essential \
libpq-dev subversion mercurial
@@ -65,7 +65,6 @@ Get ``http://pycon-web1:8000/`` - bing!
Install and configure Postgres::
- db1$ aptitude update
db1$ aptitude install git-core postgresql
db1$ mkdir -p /home/web
db1$ cd /home/web

0 comments on commit bedcd0b

Please sign in to comment.