[DRE-commits] [diaspora] 06/08: initialize db
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Sep 27 14:09:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora.
commit 539b7b7001b10a91b28831b6962b8a0fa7ecf551
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Sep 27 18:27:53 2016 +0530
initialize db
---
debian/postinst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index 5f90e3c..aba37f8 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -42,7 +42,10 @@ case "$1" in
echo "Setting up secret_token..."
DB=$DB RAILS_ENV=$RAILS_ENV DISABLE_SPRING=1 bundle exec rake generate:secret_token
-
+
+ # Initialize database
+ /usr/lib/diaspora-common/scripts/initdb.sh
+
echo "Precompiling assets..."
su diaspora -s /bin/sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git
More information about the Pkg-ruby-extras-commits
mailing list