Template:Installation/Configuration: Difference between revisions

From diaspora* project wiki
m (MrZYX moved page User:MrZYX/WIP:Installation/Configuration to Template:Installation/Configuration without leaving a redirect)
No edit summary
Line 1: Line 1:
Carefully review these files, they are extensively commented.
Now open <tt>config/database.yml</tt> and <tt>config/diaspora.yml</tt> in your favorite text editor and carefully review them, they are extensively commented.


=== Important values ===
=== Important values in config/diaspora.yml ===


* '''environment.url''': Set the '''public facing''' URL to your pod here, for example for https://pod.geraspora.de this would be <tt>https://pod.geraspora.de</tt>
* '''environment.url''': Set the '''public facing''' URL to your pod here, for example for https://pod.geraspora.de this would be <tt>https://pod.geraspora.de</tt>

Revision as of 12:49, 31 July 2013

Now open config/database.yml and config/diaspora.yml in your favorite text editor and carefully review them, they are extensively commented.

Important values in config/diaspora.yml

  • environment.url: Set the public facing URL to your pod here, for example for https://pod.geraspora.de this would be https://pod.geraspora.de
  • environment.certificate_authorities: You have to set this, one of the examples should fit. If the file in the example doesn't exist you're missing a package, in most cases it's named ca-certificates.
  • environment.require_ssl: If for some reason you can't run your pod on HTTPS (we highly encourage you to do it!), set this to false to prevent a redirect from http:// to https://
  • server.rails_environment: You want to set this to . The server section is read by ./script/server and most alternative startup methods to setup the correct environment.