From 7beea81e00b756d4302f75c62504f43b10df3d94 Mon Sep 17 00:00:00 2001 From: Lucas Kanashiro Date: Wed, 6 Aug 2014 16:36:31 -0300 Subject: [PATCH] Updated fabfile to load data of fixture --- fabfile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index d111863..426e07c 100644 --- a/fabfile.py +++ b/fabfile.py @@ -123,11 +123,12 @@ def manage(command): def syncdb(): - manage('syncdb') + manage('syncdb --no-initial-data') def migrate(): manage('migrate') + manage('loaddata super_archives/fixture/initial_data.json') def collectstatic(): @@ -260,6 +261,8 @@ def deploy(noprovision=False): syncdb() migrate() + build_schema() + sudo('supervisorctl start all') -- libgit2 0.21.2