Template:Installation: Difference between revisions

From diaspora* project wiki
mNo edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="display:none;">
{{#vardefine:DB|{{#urlget:db|postgres}}}}
{{#vardefine:mode|{{#urlget:mode|production}}}}
{{#vardefine:mode_prefix|{{#ifeq: {{#var:mode}}|development||RAILS_ENV={{#var:mode}} <nowiki/>}}}}
{{#vardefine:env_string|{{#var:mode_prefix}}}}}}
</div>
<includeonly>
{{Template:Installation/Introduction}}
{{Template:Installation/Introduction}}
{{Template:Installation/GuideVersion}}


{{Template:Installation/Requirements}}
{{Template:Installation/Requirements}}


== Prepare the system ==
{{Template:Installation/GuideVersion}}
 
=== Install Packages ===
 
As root run:


{{#tag:syntaxhighlight|
{{Template:Installation/Preparation}}
apt-get install build-essential libssl-dev libcurl4-openssl-dev libxml2-dev libxslt-dev imagemagick ghostscript git curl {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev|mariadb=libmariadbclient-dev}} libmagickwand-dev redis-server nodejs cmake
|lang=bash}}


{{Installation/{{#var:dist}}/Common}}
{{Template:Installation/Common}}
</includeonly>
<noinclude>
Main framework for installation guides (see source code). Includes Introduction, GuideVersion, Requirements, Preparation, and Common (which is actually "Install diaspora").
[[Category:Installation-Templates]]
</noinclude>

Latest revision as of 00:35, 3 September 2016


}}


Main framework for installation guides (see source code). Includes Introduction, GuideVersion, Requirements, Preparation, and Common (which is actually "Install diaspora").