[DRE-commits] [diaspora] 155/257: add more messages to postinstall

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Apr 12 14:17:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository diaspora.

commit 72d2b15850be2677171736745ea399e614116863
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Nov 27 14:59:50 2014 +0530

    add more messages to postinstall
---
 debian/diaspora.postinst | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/diaspora.postinst b/debian/diaspora.postinst
index b8f7350..b5a5d19 100755
--- a/debian/diaspora.postinst
+++ b/debian/diaspora.postinst
@@ -41,15 +41,23 @@ case "$1" in
 	/usr/lib/diaspora/scripts/grantpriv.sh
 	chown -R diaspora: /usr/share/diaspora
 	cd /usr/share/diaspora
+	echo "Installing gems with rubygems (their debian packages have bugs)..."
 # These gems need more work before they can be apt-get
 	gem install handlebars_assets rails-timeago 
 	gem install -v=0.62.0 foreman 
 	gem install -v=3.4.1 devise
 	gem install --source https://rails-assets.org rails-assets-jquery-idletimer
+	echo "Verifying we have all required libraries..."
 	sudo -u diaspora bundle install --local
+	echo "Initializing database..."
 	sudo -u diaspora RAILS_ENV=production DB=postgres bundle exec rake db:create db:schema:load
+	echo "Precompiling assets..."
 	sudo -u diaspora RAILS_ENV=production DB=postgres bundle exec rake assets:precompile
-
+	echo "Now start the service by running"
+	echo "# cd /usr/share/diaspora"
+	echo "# touch public/source.tar.gz"
+	echo "# sudo -u diaspora RAILS_ENV=production DB=postgres ./script/server"
+	echo "and visit your pod at http://localhost:3000"
    ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

-- 
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