Template:Installation/Head: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:DB|{{#urlget:db|mysql}}}} | {{#vardefine:DB|{{#urlget:db|mysql}}}} | ||
{{#vardefine:mode|{{#urlget:mode|production}}}} | {{#vardefine:mode|{{#urlget:mode|production}}}} | ||
{{#vardefine:env_string|{{#ifeq {{#var:mode}}|development||RAILS_ENV={{#var:mode}} }}{{#ifeq {{#var:DB}}|mysql||DB={{#var:DB}} }}}} | {{#vardefine:env_string|{{#ifeq: {{#var:mode}}|development||RAILS_ENV={{#var:mode}} }}{{#ifeq: {{#var:DB}}|mysql||DB={{#var:DB}} }}}} | ||
{{User:Raven24/WIP:Installation/Introduction}} | {{User:Raven24/WIP:Installation/Introduction}} | ||
Line 7: | Line 7: | ||
== Versions of this guide == | == Versions of this guide == | ||
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]]}} | 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]]}} | ||
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]]}} | 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]]}} | ||
Revision as of 20:01, 20 June 2013
User:Raven24/WIP:Installation/Introduction
Versions of this guide
Database: MySQL | PostgreSQL Running mode: Production | Development
User:Raven24/WIP:Installation/Requirements