Template:Installation: Difference between revisions

From diaspora* project wiki
mNo edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{#var:dist}}|Debian|{{#ifeq: {{#var:version}}|Jessie|
<div style="display:none;">
{{Note
{{#vardefine:DB|{{#urlget:db|postgres}}}}
|You may also [https://wiki.debian.org/Diaspora#Jessie use diaspora-installer package], which is easier, but this method is not recommended yet.}}}}}}
{{#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}}


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


=== Install Packages ===
{{Template:Installation/GuideVersion}}


As root run:
{{Template:Installation/Preparation}}


{{#tag:syntaxhighlight|
{{Template:Installation/Common}}
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
</includeonly>
|lang=bash}}
<noinclude>
 
Main framework for installation guides (see source code). Includes Introduction, GuideVersion, Requirements, Preparation, and Common (which is actually "Install diaspora").
{{Installation/Debian/Common}}
[[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").