From 4d97a23f85ecccfe2ca3efb90ace8fe5110fde0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20L=C3=B8ve=20Selvik?= Date: Thu, 18 Aug 2016 03:25:20 -0400 Subject: [PATCH] Changes to facilitate S3 backup --- Makefile | 2 +- manage.py | 2 +- requirements.txt | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9292e432..570272cc 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ shell: .PHONY: backup backup: - python manage.py dumpdata --output backup-$(shell date --iso-8601).json + python manage.py dbbackup .PHONY: clean clean: diff --git a/manage.py b/manage.py index 73db9b0c..6dcf9831 100755 --- a/manage.py +++ b/manage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/home/lionleaf/dwitter/venv/bin/python import os import sys diff --git a/requirements.txt b/requirements.txt index a229db52..a6e24099 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,4 +6,6 @@ django-anymail==0.3.1 django-filter==0.13 django-compressor==2.1 django-dbbackup==2.5.0 +boto==2.42 +django-storages-redux==1.3.2 flake8