Commit b667bb6ec460115088ed0b3daa0759d2748d4682

Authored by Sergio Oliveira
1 parent 6f657504
Exists in master and in 90 other branches 3.x, add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup, backup_not_prod, cdtc_configuration, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev-lappis, dev_env_minimal, disable_email_dev, docs, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, performance, prezento, r3, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_backup_emails, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, stable-devel, support_docs, syslog, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Added Colab config to docs

Showing 1 changed file with 58 additions and 0 deletions   Show diff stats
docs/install.rst
... ... @@ -151,6 +151,64 @@ Reinicie o serviço do Nginx com o comando: ``sudo service nginx restart``.
151 151 Colab
152 152 +++++
153 153  
  154 +Crie/edite o arquivo ``/etc/colab/settings.d/admins.yaml`` e adicione o nome e e-mail dos administradores do sistema:
  155 +
  156 +.. code-block:: yaml
  157 +
  158 + ## System admins
  159 + ADMINS: &admin
  160 + -
  161 + - John Foo
  162 + - john@example.com
  163 + -
  164 + - Mary Bar
  165 + - mary@example.com
  166 +
  167 + MANAGERS: *admin
  168 +
  169 +
  170 +Crie/edite o arquivo ``/etc/colab/settings.d/hosts.yaml`` e configure a URL principal da aplicação e quais URLs poderão ser utilizadas para que o login seja efetuado. Exemplo:
  171 +
  172 +.. code-block:: yaml
  173 +
  174 + SITE_URL: 'https://beta.softwarepublico.gov.br'
  175 + BROWSERID_AUDIENCES:
  176 + - http://beta.softwarepublico.gov.br
  177 + - https://beta.softwarepublico.gov.br
  178 +
  179 +
  180 +Crie/edite o arquivo ``/etc/colab/settings.d/email.yaml`` e configure o endereço que será utilizado no FROM dos e-mails enviados pelo Colab. Veja o exemplo:
  181 +
  182 +.. code-block:: yaml
  183 +
  184 + COLAB_FROM_ADDRESS: '"Portal do Software Publico" <noreply@beta.softwarepublico.gov.br>'
  185 + SERVER_EMAIL: '"Portal do Software Publico" <noreply@beta.softwarepublico.gov.br>'
  186 +
  187 +
  188 +Crie/edite o arquivo ``/etc/colab/settings.d/conversejs.yaml`` e desative o Converse.js:
  189 +
  190 +.. code-block:: yaml
  191 +
  192 + CONVERSEJS_ENABLED: False
  193 +
  194 +
  195 +Crie/edite o arquivo ``/etc/colab/settings.d/feedzilla.yaml`` e desative o Feedzilla (blog planet):
  196 +
  197 +.. code-block:: yaml
  198 +
  199 + FEEDZILLA_ENABLED: False
  200 +
  201 +
  202 +*(opcional)* Crie/edite o arquivo ``/etc/colab/settings.d/raven.yaml`` e adicione a *string* de conexão da sua instancia do Sentry como no exemplo abaixo:
  203 +
  204 +.. code-block:: yaml
  205 +
  206 + ### Log errors to Sentry instance
  207 + RAVEN_DSN: 'https://<user>:<key>@sentry.example.com/<id>'
  208 +
  209 +
  210 +Após editar todos os arquivos desejados reinicie o processo do Colab com utilizando o comando ``service colab restart``.
  211 +
154 212  
155 213 Gitlab
156 214 ++++++
... ...