Repository navigation
Configuration Files v0.8
→ For Mconf-Web version 0.8.
The database is configured in the file config/database.yml. This is a standard configuration file used by Rails applications, so you can find plenty of resources about it on the Internet (for example, this page).
You can also take a look at the examples in our repository:
- Default example: Uses MySQL for all environments;
- SQLite3 example: Example on how to use SQLite3.
This file contains configurations that are used to populate the database the first time you setup your application. It is optional: if you don't configure it default values will be used and you will be able to edit them using Mconf-Web's management page.
Remember to keep the file indented and formatted as it is. Its format and structure have semantic meaning, so you shouldn't change them.
The file has up to four sections:
- default
- development
- production
- test
The default section is always present and its values are used as the default values. The other sections are used to define specific configurations for each Rails environment (development, production, test). In these other sections you should specify only the parameters you want to override over the default configurations.
Inside the default section, you will find the parameters listed below.
These parameters define the administrator user. Use a valid email and you can use a simple password here, since you are able to change it later on through the website.
Currently this will be the only admin user in your application.
admin_login: "mconf" # admin's login
admin_fullname: "Mconf Admin" # admin's full name
admin_email: "my-email@server.com" # admin's email
admin_password: "admin" # admin's passwordDefines the first and default BigBlueButton/Mconf-Live server. This is used during the setup of your DB, but you are able to modify this server later on using the website.
Currently, all BigBlueButton/Mconf-Live rooms created through Mconf-Web will use this server.
- The
urlshould use the formathttp://{server}/bigbluebutton/api. Change only the{server}part.
bbb_server_name: 'Default Server' # server name
bbb_server_url: 'http://{server}/bigbluebutton/api' # server url
bbb_server_salt: 'my-secret-salt' # server salt
bbb_server_version: '0.8' # bbb versionThe information is used to create the a Site model, that defines some attributes of your website. The basic configurations are:
site_name: "Mconf Dev" # Website name
site_description: "Mconf Development Website" # Website description
site_locale: "en" # This will be the default locale for the application
site_domain: "localhost" # Your server address
site_signature: "Mconf" # To sign emails
site_ssl: "false" # Change to "true" to enable SSL
site_analytics_code: "" # Google Analytics tracking code. Leave it empty to disable.
# Use the format: "UA-12345678-9".
site_feedback_url: "" # URL to be opened when a user logs out of a conference. Leave
# it blank to use the default pageCurrently Mconf-Web uses a Gmail account to send emails, so you can use this section to enter your username and password. You need to set up this account. If you don't, you won't be able to use some features in the website (the user registration for example, needs to send a confirmation email to the user).
site_email: "my-username@gmail.com" # gmail username
site_email_password: "my-password" # gmail passwordTODO: it can also be used with sendmail or postmail
Another part in this section is used to notify (by email) when an exception occurs in the website. This feature will only work in the production environment (1), so it is disabled by default. You will usually configure it in the default section and then enable it in the production section.
site_exception_notifications: "false" # Change to "true" to enable
site_exception_notifications_prefix: "[Mconf-Web Error]" # Prefix added in the email subject
# Emails that should receive the notification. Use a space, comma of semi-colon to separate multiple emails.
# Example: "my-email@server.com my-email2@server.com email3@server2.com"
site_exception_notifications_recipients: ""And to enable it in production:
production:
site_exception_notifications: "true"(1) Because the gem exception_notification that does it is only installed for production.
Enable or disable the login via Shibboleth and configure it.
site_shibboleth: "false" # Change to "true" to enable
site_shibboleth_email_field: "Shib-inetOrgPerson-mail" # Field used to obtain the user's email
site_shibboleth_name_field: "Shib-inetOrgPerson-sn" # Field used to obtain the user's nameThis is the technical documentation for Mconf-Web, a component of Mconf. Read more about the project and try it out at mconf.org.
- Home
- Releases
- Changelog
- FAQ
- Translating the application
- Latest stable version (2.x.x)
- Development version (from branch
master) - Previous version (0.8.x)