mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
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)
12 lines
348 B
Bash
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
|