Files
zulip/setup-server
Jessica McKellar 36cc0219d5 Make timestamps on zephyrs timezone-aware.
This will avoid Daylight Saving Time issues and resolves a Django
warning about using naive datetime objects ("RuntimeWarning:
DateTimeField received a naive datetime").

This adds a dependency on python-tz.

https://docs.djangoproject.com/en/dev/topics/i18n/timezones/

(imported from commit 10e432a67e2bcd014a0cedf4423a162609873825)
2012-08-28 17:08:38 -04:00

12 lines
348 B
Bash

#!/bin/sh
resize2fs /dev/xvda1
apt-get update
apt-get upgrade
apt-get install sudo emacs screen git python-tz
cat >>/etc/apt/sources.list <<EOF
deb http://backports.debian.org/debian-backports squeeze-backports main
deb-src http://backports.debian.org/debian-backports squeeze-backports main
EOF
apt-get install -t squeeze-backports python-django