4810
Comment:
|
4886
packages that needs fixing for assets discovery
|
Deletions are marked like this. | Additions are marked like this. |
Line 82: | Line 82: |
This step fails because it can't find rails-timeago. | This step fails because it can't find many assets. Packages that needs fixing are: rails-timeago, rails-assets-jquery-idletimer. |
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 \ ruby-acts-as-taggable-on ruby-will-paginate ruby-unf ruby-omniauth-oauth2 \ ruby-compass ruby-excon ruby-jwt
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 # apt-get install ruby-responders ruby-warden ruby-orm-adapter ruby-bcrypt \ ruby-eco-source ruby-fog-radosgw ruby-ice-cube ruby-buftok
This will create necessary database initialization and configuration using postgresql.
Precompile assets
# cd /usr/share/diaspora # sudo -u diaspora RAILS_ENV=production DB=postgres bundle exec rake assets:precompile
This step fails because it can't find many assets. Packages that needs fixing are: rails-timeago, rails-assets-jquery-idletimer.
Re installing the package
If you want to reinstall the package, you have to purge, drop db and remove dbconfig-common config for diaspora
# apt-get purge diaspora # rm /etc/dbconfig-common/diaspora* # sudo -u postgres dropdb diaspora_production
There is more work to do.
Issues
bundle install failure with openssl missing - work around available
ruby-twitter-text doesn't have a gemspec file in binary package
TODO
Complete packaging of remaining gem dependencies (list gems that needs to be packaged, some of them are already in NEW or being worked on)
Test the installation by going ahead with next steps listed at diaspora installation manual
- Create debconf templates for pod configuration.
Help keep the gem versions in sync. If deb version of a library is older than required by diaspora (run 'bundle install --local' on a develop branch checkout of diaspora upstream), update the deb version. If debian already has a new version of a library, update the corresponding gem version in diaspora.
Create a tracker like gnome status or update current progressbar to show out dated or newer versions in debian.
See below for the team effort to package the dependencies of Diaspora and Diaspora itself for Debian.