Template:Installation/Common

From diaspora* project wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Get the source

It's time to download Diaspora! As your diaspora user run:

cd ~
git clone  git://github.com/diaspora/diaspora.git
cd diaspora

Don't miss the cd diaspora, all coming commands expect to be run from that directory!

Конфигурации

Скопируйте файлы

cp config/database.yml.example config/database.yml
cp config/diaspora.yml.example config/diaspora.yml



Bundle

Пора установить библиотеки Ruby необходимые для Diaspora:

 bundle install

Это занимает некоторое время. Вы должны получить зеленое сообщение об успешном завершении, если это не так, вы должны обратиться за помощью в списке рассылки или канала IRC.. Вы можете немного ускорить процесс добавив -jn к команде, где n число процессорных ядер, которое у вас имеется.

Running the manual gem install command shown in the error message can sometimes show a clearer error message if the bundle command fails.

Database setup

Double check your config/database.yml looks right and run:

 bundle exec rake db:create db:schema:load


Start Diaspora

It's time to start Diaspora:

./script/server


Further reading