Convos::Manual::Environment - Environment variables for Convos
You can change the behavior of Convos by setting environment variables:
$ CONVOS_REDIS_URL=localhost/12 ./script/convos
Convos can be configured with the following environment variables:
Set this variable to a custom directory where Convos can store the IRC logs.
Set CONVOS_MANUAL_BACKEND to a true value if you want to force the frontend to start the backend embedded. This is useful if you want to test Convos with morbo.
Set CONVOS_DEBUG to a true value for extra debug output to STDERR.
Set CONVOS_DISABLE_AUTO_EMBED to a true value to disable links from expanding into images, movies or other dynamic content.
Disable the frontend from automatically starting the backend.
Set this to customize the organization name on the landing page, in the title tag and other various sites. The default is Nordaaker.
This is the URL to the Redis backend, and should follow this format:
redis://x:password@server:port/database_index redis://127.0.0.1:6379/1 # suggested value
Convos will use REDISCLOUD_URL, REDISTOGO_URL, DOTCLOUD_DATA_REDIS_URL or default to "redis://127.0.0.1:6379/1" unless CONVOS_REDIS_URL is not set.
REDISCLOUD_URL
REDISTOGO_URL
DOTCLOUD_DATA_REDIS_URL
CONVOS_REDIS_URL
It is also possible to set CONVOS_REDIS_INDEX=2 to use the database index 2, instead of the default. This is useful when REDISTOGO_URL or DOTCLOUD_DATA_REDIS_URL does not contain the datbase index.
CONVOS_REDIS_INDEX=2
If set must be appended to register url. Example:
http://your.convos.by/register/some-secret-invite-code
Set CONVOS_SECURE_COOKIES to true in order to set the secure flag on all session cookies. Requires HTTPS.
Set MOJO_IRC_DEBUG for extra IRC debug output to STDERR.
List of one or more locations to listen on. This also works for hypnotoad. Example:
MOJO_LISTEN="http://*:8080,https://*:8443"
"listen" in Mojo::Server::Daemon.
Set this to a true value if you're using hypnotoad behind a reverse proxy, such as nginx.
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
Marcus Ramberg - marcus@nordaaker.com
marcus@nordaaker.com
To install Convos, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convos
CPAN shell
perl -MCPAN -e shell install Convos
For more information on module installation, please visit the detailed CPAN module installation guide.