Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Development (build from source)

1. Install and configure the necessary software

...

For maven, you need to make additional settings to connect to citeck artifactory in the settings.xml file (copy the file to your .m2 directory and for the "enterprise-reader" username set the password: readpass)

3. Cloning of the ECOS Community repository

...

  1. Edit  configurations → Create → maven
  2. Parameters → Command line: clean install ecos:run -DskipTests = true
  3. Profiles → citeck development
  4. Runner → Environment variables: MAVEN_OPTS = -Xms256m -Xmx2G

...

Docker-image of ECOS Community is based on CentOS 7.
Install docker https://docs.docker.com/v17.09/engine/installation/
Install docker-compose https://docs.docker.com/compose/install/
All required software is already installed.

Для There is a docker-compose file used to start all neccesary services of Citeck ECOS Community подготовлен docker-compose файл для запуска всех необходимых сервисов. В нём заложен запуск всех компонентов и ПО, необходимых для работы системы.
Для запуска выполните следующие шаги:
1. Создать дерево каталогов для данных сервисов
We should do few steps:
1.Create directories for data of the services.

Paste code macro
languagebash
mkdir -p /opt/alfresco/{license,conf,solr4,content,logs,postgresql,ecos-ui}

2. Получить актуальный Obtain actual docker-compose.yaml

Paste code macro
languagebash
wget https://bitbucket.org/citeck/ecos-community/downloads/docker-compose.yaml

3. Запустить контейнерыStart containers

Paste code macro
languagebash
docker-compose up -d

4. Внести изменения в файл Make changes to /etc/hosts file

Paste code macro
languagebash
replace
127.0.0.1       localhostto127.0.0.1 localhost community-test

5.  В браузере перейти по адресу:Go to link in browser

Paste code macro
languagebash
http://community-test:8080/share/page

Для авторизации используем следующие учётные данныеAccount for authorizatipon:
Пользователь User - admin
Пароль Password - alfr3sc0

Журналы и данные приложений хранятся в каталоге Journals and applications data are stored at /opt/alfresco/

Развертывание сервисов с помощью docker-compose протестировано на ОС This manual tested for Ubintu 16.06 и 04 and Centos 7


Operation check

In the event of faults in operation of the system, it is worth looking for a cause in the log files.

  • Alfresco log files – alfresco.log, share.log;
  • Tomcat log file – tomcat/logs/catalina.out;
  • In “catalina.out” after successful start:
    INFO: Server startup in 472138 ms
  • In alfresco.log after successful start:
    INFO  [...DeclarativeRegistry] Registered 501 Web Scripts (+0 failed), 783 URLs
  • In share.log after successful start
    INFO  [...DeclarativeRegistry] Registered 462 Web Scripts (+0 failed), 480 URLs
  • In share.log after successful login
    INFO  [...EditionInterceptor] Successfully retrieved license information from Alfresco.
    Screenshot 2019-02-15 16.50.47.pngImage Removed
  • In share.log after login with an error:
    INFO  [...EditionInterceptor] Unable to retrieve License information from Alfresco: 404
    (see the text of the error in alfresco.log)
    Screenshot 2019-02-15 16.42.14.pngImage Removed
  • In share.log after login with an error:
    INFO  [...EditionInterceptor] Successfully retrieved license information from Alfresco.
    (the user has entered the password incorrectly)

Alfresco and ECOS settings

...