Template:Installation/GuideVersion: Difference between revisions

From diaspora* project wiki
No edit summary
No edit summary
Line 16: Line 16:
In '''Development''' mode, your pod is configured for development. This is recommended ony for development contributors of diaspora* which use the pod only locally for testing purposes.  
In '''Development''' mode, your pod is configured for development. This is recommended ony for development contributors of diaspora* which use the pod only locally for testing purposes.  


The '''Database''' you choose is up to you. In our experience PostgreSQL achieves a better performance but needs more resources. <!-- see table above -->
The '''Database''' you choose is up to you. In our experience PostgreSQL achieves a better performance but needs more resources.
</div>
</div>
</div>
</div>
The current guide is for a '''{{#switch: {{#var:mode}}|production=production|development=development}}''' setup
The current guide is for a '''{{#switch: {{#var:mode}}|production=production|development=development}}''' setup
with  '''{{#switch: {{#var:DB}}|mysql=MySQL|postgres=PostgreSQL|mariadb=MariaDB}}''' as database.
with  '''{{#switch: {{#var:DB}}|mysql=MySQL|postgres=PostgreSQL|mariadb=MariaDB}}''' as database.
Line 25: Line 24:
You can change them below:
You can change them below:


Running mode: {{#ifeq: {{#var:mode}}|production|'''Production'''|[[{{FULLPAGENAME}}?db={{#var:DB}}&mode=production#Versions_of_this_guide|Production]]}} | {{#ifeq: {{#var:mode}}|development|'''Development'''|[[{{FULLPAGENAME}}?db={{#var:DB}}&mode=development#Versions_of_this_guide|Development]]}}<br />
Running mode: {{#ifeq: {{#var:mode}}
Database: {{#ifeq: {{#var:DB}}|mysql|'''MySQL'''|[[{{FULLPAGENAME}}?db=mysql&mode={{#var:mode}}|MySQL]]}} {{!}} {{#ifeq: {{#var:DB}}|postgres|'''PostgreSQL'''|[[{{FULLPAGENAME}}?db=postgres&mode={{#var:mode}}|PostgreSQL]]}} {{#ifeq: {{#var:dist}}{{#var:version}}|UbuntuPrecise||{{!}} {{#ifeq: {{#var:DB}}|mariadb|'''MariaDB'''|[[{{FULLPAGENAME}}?db=mariadb&mode={{#var:mode}}|MariaDB]]}}}}
|production|'''Production'''|<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}}}?db={{#var:DB}}&mode=production#Versions_of_this_guide|Production]</span>
}} | {{#ifeq: {{#var:mode}}
|development|'''Development'''|<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}}}?db={{#var:DB}}&mode=development#Versions_of_this_guide Development]</span>
}}<br />
Database: {{#ifeq: {{#var:DB}}
|mysql|'''MySQL'''|<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}}}?db=mysql&mode={{#var:mode}}#Versions_of_this_guide MySQL]</span>
}} {{!}} {{#ifeq: {{#var:DB}}
|postgres|'''PostgreSQL'''|<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}}}?db=postgres&mode={{#var:mode}}#Versions_of_this_guide PostgreSQL]</span>
}} {{#ifeq: {{#var:dist}}{{#var:version}}|UbuntuPrecise||{{!}} {{#ifeq: {{#var:DB}}
|mariadb|'''MariaDB'''|<span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}}}?db=mariadb&mode={{#var:mode}}#Versions_of_this_guide MariaDB]</span>
}}}}
<noinclude>[[Category:Installation-Templates]]</noinclude>
<noinclude>[[Category:Installation-Templates]]</noinclude>

Revision as of 01:16, 3 September 2016


}}

Versions of this guide

WarningWarning:Make sure to use the correct version of the guide, see below.

» Help me decide!

In Production mode, your pod is configured to deal with high load for everyday usage. This is recommended for a pod you want to actually use.

In Development mode, your pod is configured for development. This is recommended ony for development contributors of diaspora* which use the pod only locally for testing purposes.

The Database you choose is up to you. In our experience PostgreSQL achieves a better performance but needs more resources.

The current guide is for a production setup with PostgreSQL as database.

You can change them below:

Running mode: Production | Development
Database: MySQL | PostgreSQL | MariaDB