Template:Installation/GuideVersion: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{#vardefine:DB|{{#urlget:db|postgres}}}} | {{#vardefine:DB|{{#urlget:db|postgres}}}} | ||
{{#vardefine:mode|{{#urlget:mode|production}}}} | {{#vardefine:mode|{{#urlget:mode|production}}}} | ||
{{#vardefine:mode_prefix|{{#ifeq: {{#var:mode}}|development||RAILS_ENV={{#var:mode}}<nowiki/>}}}} | {{#vardefine:mode_prefix|{{#ifeq: {{#var:mode}}|development||RAILS_ENV={{#var:mode}} <nowiki/>}}}} | ||
{{#vardefine:env_string|{{#var:mode_prefix}}}}}} | {{#vardefine:env_string|{{#var:mode_prefix}}}}}} | ||
</div> | </div> |
Revision as of 02:47, 2 September 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