Differences between revisions 13 and 14
Revision 13 as of 2014-11-22 13:16:08
Size: 2478
Editor: Praveen A
Comment: need to run bundle as non root user
Revision 14 as of 2014-11-22 15:03:28
Size: 2478
Editor: Praveen A
Comment: use useradd instead of adduser
Deletions are marked like this. Additions are marked like this.
Line 74: Line 74:
# adduser diaspora # useradd diaspora

Translation(s): none


Diaspora

This page will be used for user documentations.

Diaspora Package Testing

This is very early version of diaspora package and not recommended for production yet.

Setup Debian Unstable environment

You have to setup a debian unstable system (you could setup it as a virtual machine if you want). You'll have to install debian testing from debian.org and then upgrade to unstable.

You can also use pbuilder to setup a debian unstable environment

# pbuilder create
# pbuilder login

Enable experimental suite and install packages from there

Once you have debian unstable, enable experimental repo.

# echo deb http://ftp.de.debian.org/debian experimental main >>/etc/apt/sources.list
# apt-get update

Install the following packages from experimental

# aptitude -t experimental install ruby-compass-rails ruby-handlebars-assets \
ruby-rails-i18n ruby-redcarpet ruby-omniauth ruby-typhoeus ruby-gon ruby-fog \
ruby-rack-piwik ruby-rack-ssl ruby-ethon ruby-excon ruby-configurate

List of packages you need are here

Enable diaspora unreleased repo and install diaspora

Enable diaspora-unreleased repository

The archive is signed with Praveen's GPG key: 2A79 74AE 2FC1 52D7 7867 DA4A CE1F 9C67 4512 C22A

# gpg --recv-keys --keyserver hkp://subkeys.pgp.net CE1F9C674512C22A
# gpg --export --armor CE1F9C674512C22A | apt-key add -

# apt-get install apt-transport-https
# echo deb http://people.debian.org/~praveen/diaspora-unreleased unstable main >>/etc/apt/sources.list
# apt-get update

then install diaspora

# apt-get install diaspora

Verify bundler can see all dependencies

Go to /usr/share/diaspora

# cd /usr/share/diaspora
# useradd diaspora
# chown diaspora: -R .
# su  diaspora -c 'bundle install --local'

There is more work to do.

See below for the team effort to package the dependencies of Diaspora and Diaspora itself for Debian.

Diaspora packaging