On my previous post I had mention that I had a workshop about Diaspora*. In this opportunity I'm going to explain how to install Diaspora on a local server in a few steps.
What is Diaspora*?
According to Wikipedia, Diaspora* is a free personal web server that implements a distributed social networking service, providing a decentralized alternative to social network services like Facebook.
The project is currently under development by Dan Grippi, Maxwell Salzberg, Raphael Sofaer, and Ilya Zhitomirskiy, students at New York University's Courant Institute of Mathematical Sciences. The group received donations in excess of $200,000 via Kickstarter. A consumer alpha version was released on November 23, 2010.
How to install Diaspora*?
The following are the dependencies for a proper installation of Diaspora*:
- libxlst, libxlst-devel
- libxml2, libxml2-deve
- openssl, openssl-devel
- ruby, ruby-devel, rubygems
- ImageMagick
- git
- redis
- mysql-server, mysq-devel
The following command is the necessary for install the mentioned above:
su -c 'yum install libxslt libxslt-devel libxml2 libxml2-devel ruby ruby-devel openssl openssl-devel ImageMagick git redis rubygems mysql-server mysql-devel'
After installing them go to your home directory, install bundler, clone the project to your folder and install it. Follow these commands:
cd ~
gem intall bundler
git clone http://github.com/diaspora/diaspora.git
cd ~/diaspora
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed:first_user
How to run Diaspora*?
The following are the commands for a proper execution of Diaspora* (execute on two different terminals):
NOTES
redis-server
cd ~/diaspora & ./script/server
NOTES
- If you get an error while executing "bundle install" check if you have that dependency installed (the source and its devel).
- Remember to enable the service mysqld.
REFERENCES