Template:Installation/GuideVersion: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
{{Serious|Make sure to use the correct version of the guide, see below.}} | {{Serious|Make sure to use the correct version of the guide, see below.}} | ||
<div class="toccolours mw-collapsible mw-collapsed" style="float:right; width: 40%"> | |||
'''» Help me decide!''' | |||
<div class="mw-collapsible-content"> | |||
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. <!-- see table above --> | |||
</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 | ||
Line 17: | Line 28: | ||
Running mode: {{#ifeq: {{#var:mode}}|production|'''Production'''|[[{{FULLPAGENAME}}?db={{#var:DB}}&mode=production|Production]]}} | {{#ifeq: {{#var:mode}}|development|'''Development'''|[[{{FULLPAGENAME}}?db={{#var:DB}}&mode=development|Development]]}}<br /> | Running mode: {{#ifeq: {{#var:mode}}|production|'''Production'''|[[{{FULLPAGENAME}}?db={{#var:DB}}&mode=production|Production]]}} | {{#ifeq: {{#var:mode}}|development|'''Development'''|[[{{FULLPAGENAME}}?db={{#var:DB}}&mode=development|Development]]}}<br /> | ||
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:DB}}|mariadb|'''MariaDB'''|[[{{FULLPAGENAME}}?db=mariadb&mode={{#var:mode}}|MariaDB]]}} | 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:DB}}|mariadb|'''MariaDB'''|[[{{FULLPAGENAME}}?db=mariadb&mode={{#var:mode}}|MariaDB]]}} | ||
Revision as of 17:31, 27 August 2016
Versions of this guide
» 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