1:HL["/_next/static/css/6bd36201de36b157.css",{"as":"style"}] 0:["SjwqWs581guB4LhqFq0Oc",[[["",{"children":["quickstart",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6bd36201de36b157.css","precedence":"next"}]],"$L3"]]]] 2:[null,"$L4",null] 3:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Quickstart - Protocol API Reference"}],["$","meta","2",{"name":"description","content":"This guide will get you all set up and ready to use the Protocol API. We’ll cover how to get started an API client and how to make your first API request."}],["$","meta","3",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"256x256"}]] 5:I{"id":4129,"chunks":["9982:static/chunks/93854f56-9ae0c09bcc02b636.js","2420:static/chunks/9081a741-dd8e5993991f401c.js","6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","3222:static/chunks/3222-150407128078c3bc.js","1859:static/chunks/1859-ad392470f22235e6.js","5170:static/chunks/5170-d43543fb1d3902f8.js","3185:static/chunks/app/layout-0bb2a92c31dce64c.js"],"name":"Providers","async":false} 6:I{"id":7757,"chunks":["9982:static/chunks/93854f56-9ae0c09bcc02b636.js","2420:static/chunks/9081a741-dd8e5993991f401c.js","6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","3222:static/chunks/3222-150407128078c3bc.js","1859:static/chunks/1859-ad392470f22235e6.js","5170:static/chunks/5170-d43543fb1d3902f8.js","3185:static/chunks/app/layout-0bb2a92c31dce64c.js"],"name":"Layout","async":false} 7:I{"id":7767,"chunks":["2272:static/chunks/webpack-9c39eedf017990e3.js","2971:static/chunks/fd9d1056-0ec2db3eb7ac1547.js","596:static/chunks/596-aaaa00efe9da3984.js"],"name":"default","async":false} 8:I{"id":7920,"chunks":["2272:static/chunks/webpack-9c39eedf017990e3.js","2971:static/chunks/fd9d1056-0ec2db3eb7ac1547.js","596:static/chunks/596-aaaa00efe9da3984.js"],"name":"default","async":false} 9:I{"id":6685,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"","async":false} b:I{"id":3106,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"Heading","async":false} c:I{"id":5394,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"Tabs","async":false} d:I{"id":5394,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"Tab","async":false} e:I{"id":3457,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"Pre","async":false} f:I{"id":3457,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"Code","async":false} 1e:I{"id":6577,"chunks":["6685:static/chunks/6685-a937dd3e2b88ed12.js","2435:static/chunks/2435-ac4b486d27c0bea1.js","6021:static/chunks/6021-3dfd29e59407678e.js","5170:static/chunks/5170-d43543fb1d3902f8.js","6734:static/chunks/app/quickstart/page-48743f80b18e25cd.js"],"name":"Feedback","async":false} 10:T760,version: '3.6' services: mongo: hostname: mongo image: mongo:4.0.10 # container_name: mongo ports: - "27017:27017" networks: - erxes-net healthcheck: test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo --quiet) -eq 1 interval: 2s timeout: 2s retries: 200 command: ["--replSet", "rs0", "--bind_ip_all"] extra_hosts: - "mongo:127.0.0.1" volumes: - ./data/db:/data/db redis: image: 'redis' # container_name: redis # command: redis-server --requirepass pass ports: - "6379:6379" networks: - erxes-net rabbitmq: image: rabbitmq:3.7.17-management # container_name: rabbitmq restart: unless-stopped hostname: rabbitmq ports: - "15672:15672" - "5672:5672" networks: - erxes-net # RabbitMQ data will be saved into ./rabbitmq-data folder. volumes: - ./rabbitmq-data:/var/lib/rabbitmq elasticsearch: image: 'docker.elastic.co/elasticsearch/elasticsearch:7.13.0' container_name: 'elasticsearch' environment: - discovery.type=single-node ulimits: memlock: soft: -1 hard: -1 nofile: soft: 32768 hard: 65536 ports: - '127.0.0.1:9200:9200' networks: - erxes-net volumes: - ./elasticsearchData:/usr/share/elasticsearch/data essyncer: container_name: essyncer image: 'erxes/essyncer:dev' environment: DB_NAME: 'erxes' ELASTICSEARCH_URL: 'http://elasticsearch:9200' MONGO_URL: 'mongodb://mongo:27017/erxes?replicaSet=rs0' depends_on: - 'mongo' - 'elasticsearch' volumes: - './essyncerData:/data/essyncerData' - './mongoConnectorLog:/var/log/mongo-connector' tty: true networks: - 'erxes-net' networks: erxes-net: driver: bridge 11:T4fbb,version: '3.6' services: mongo: hostname: mongo image: mongo:4.0.10 # container_name: mongo ports: - "27017:27017" networks: - erxes-net healthcheck: test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo --quiet) -eq 1 interval: 2s timeout: 2s retries: 200 command: ["--replSet", "rs0", "--bind_ip_all"] extra_hosts: - "mongo:127.0.0.1" volumes: - ./data/db:/data/db redis: image: 'redis' # container_name: redis # command: redis-server --requirepass pass ports: - "6379:6379" networks: - erxes-net rabbitmq: image: rabbitmq:3.7.17-management # container_name: rabbitmq restart: unless-stopped hostname: rabbitmq ports: - "15672:15672" - "5672:5672" networks: - erxes-net # RabbitMQ data will be saved into ./rabbitmq-data folder. volumes: - ./rabbitmq-data:/var/lib/rabbitmq elasticsearch: image: 'docker.elastic.co/elasticsearch/elasticsearch:7.13.0' container_name: 'elasticsearch' environment: - discovery.type=single-node ulimits: memlock: soft: -1 hard: -1 nofile: soft: 32768 hard: 65536 ports: - '127.0.0.1:9200:9200' networks: - erxes-net volumes: - ./elasticsearchData:/usr/share/elasticsearch/data essyncer: container_name: essyncer image: 'erxes/essyncer:dev' environment: DB_NAME: 'erxes' ELASTICSEARCH_URL: 'http://elasticsearch:9200' MONGO_URL: 'mongodb://mongo:27017/erxes?replicaSet=rs0' depends_on: - 'mongo' - 'elasticsearch' volumes: - './essyncerData:/data/essyncerData' - './mongoConnectorLog:/var/log/mongo-connector' tty: true networks: - 'erxes-net' networks: erxes-net: driver: bridge 12:T766,version: '3.6' services: mongo: hostname: mongo image: mongo:4.0.10 # container_name: mongo ports: - "27017:27017" networks: - erxes-net healthcheck: test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo --quiet) -eq 1 interval: 2s timeout: 2s retries: 200 command: ["--replSet", "rs0", "--bind_ip_all"] extra_hosts: - "mongo:127.0.0.1" volumes: - ./data/db:/data/db redis: image: 'redis' # container_name: redis # command: redis-server --requirepass pass ports: - "6379:6379" networks: - erxes-net rabbitmq: image: rabbitmq:3.7.17-management # container_name: rabbitmq restart: unless-stopped hostname: rabbitmq ports: - "15672:15672" - "5672:5672" networks: - erxes-net # RabbitMQ data will be saved into ./rabbitmq-data folder. volumes: - ./rabbitmq-data:/var/lib/rabbitmq elasticsearch: image: 'docker.elastic.co/elasticsearch/elasticsearch:7.13.0-arm64' container_name: 'elasticsearch' environment: - discovery.type=single-node ulimits: memlock: soft: -1 hard: -1 nofile: soft: 32768 hard: 65536 ports: - '127.0.0.1:9200:9200' networks: - erxes-net volumes: - ./elasticsearchData:/usr/share/elasticsearch/data essyncer: container_name: essyncer image: 'erxes/essyncer:dev' environment: DB_NAME: 'erxes' ELASTICSEARCH_URL: 'http://elasticsearch:9200' MONGO_URL: 'mongodb://mongo:27017/erxes?replicaSet=rs0' depends_on: - 'mongo' - 'elasticsearch' volumes: - './essyncerData:/data/essyncerData' - './mongoConnectorLog:/var/log/mongo-connector' tty: true networks: - 'erxes-net' networks: erxes-net: driver: bridge 13:T4fc1,version: '3.6' services: mongo: hostname: mongo image: mongo:4.0.10 # container_name: mongo ports: - "27017:27017" networks: - erxes-net healthcheck: test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo --quiet) -eq 1 interval: 2s timeout: 2s retries: 200 command: ["--replSet", "rs0", "--bind_ip_all"] extra_hosts: - "mongo:127.0.0.1" volumes: - ./data/db:/data/db redis: image: 'redis' # container_name: redis # command: redis-server --requirepass pass ports: - "6379:6379" networks: - erxes-net rabbitmq: image: rabbitmq:3.7.17-management # container_name: rabbitmq restart: unless-stopped hostname: rabbitmq ports: - "15672:15672" - "5672:5672" networks: - erxes-net # RabbitMQ data will be saved into ./rabbitmq-data folder. volumes: - ./rabbitmq-data:/var/lib/rabbitmq elasticsearch: image: 'docker.elastic.co/elasticsearch/elasticsearch:7.13.0-arm64' container_name: 'elasticsearch' environment: - discovery.type=single-node ulimits: memlock: soft: -1 hard: -1 nofile: soft: 32768 hard: 65536 ports: - '127.0.0.1:9200:9200' networks: - erxes-net volumes: - ./elasticsearchData:/usr/share/elasticsearch/data essyncer: container_name: essyncer image: 'erxes/essyncer:dev' environment: DB_NAME: 'erxes' ELASTICSEARCH_URL: 'http://elasticsearch:9200' MONGO_URL: 'mongodb://mongo:27017/erxes?replicaSet=rs0' depends_on: - 'mongo' - 'elasticsearch' volumes: - './essyncerData:/data/essyncerData' - './mongoConnectorLog:/var/log/mongo-connector' tty: true networks: - 'erxes-net' networks: erxes-net: driver: bridge 14:T605, #!/bin/bash now=$(date +'%H:%M:%S') echo -e "\e[1mStep 1 $now : Updating \e[0m" sudo apt-get update -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 2 $now : Installing nginx\e[0m" sudo apt install nginx -y sudo apt update -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 3 $now : Installing docker\e[0m" sudo apt install apt-transport-https ca-certificates curl software-properties-common -y curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" apt-cache policy docker-ce sudo apt install docker-ce -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 5 $now : Installing docker compose\e[0m" sudo apt-get update -y sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose now=$(date +'%H:%M:%S') echo -e "\e[1mStep 6 $now : Installing ndoejs\e[0m" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash curl -s https://deb.nodesource.com/setup_18.x | sudo bash sudo apt-get install nodejs -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 7 $now : Installing awscli \e[0m" sudo apt-get install awscli -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 8 $now : Installing npm\e[0m" sudo apt install npm -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 9 $now : Enter your domain address to configure erxes\e[0m" sudo npm install -g create-erxes-app -y 15:T18f6, #!/bin/bash now=$(date +'%H:%M:%S') echo -e "\e[1mStep 1 $now : Updating \e[0m" sudo apt-get update -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 2 $now : Installing nginx\e[0m" sudo apt install nginx -y sudo apt update -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 3 $now : Installing docker\e[0m" sudo apt install apt-transport-https ca-certificates curl software-properties-common -y curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" apt-cache policy docker-ce sudo apt install docker-ce -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 5 $now : Installing docker compose\e[0m" sudo apt-get update -y sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose now=$(date +'%H:%M:%S') echo -e "\e[1mStep 6 $now : Installing ndoejs\e[0m" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash curl -s https://deb.nodesource.com/setup_18.x | sudo bash sudo apt-get install nodejs -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 7 $now : Installing awscli \e[0m" sudo apt-get install awscli -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 8 $now : Installing npm\e[0m" sudo apt install npm -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 9 $now : Enter your domain address to configure erxes\e[0m" sudo npm install -g create-erxes-app -y 16:T7aa,#!/bin/bash now=$(date +'%H:%M:%S') echo -e "\e[1mStep 1 $now : Updating \e[0m" sudo yum update -y sudo yum install epel-release -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 2 $now : Installing nginx\e[0m" sudo yum install nginx -y sudo systemctl start nginx sudo yum check-update now=$(date +'%H:%M:%S') echo -e "\e[1mStep 3 $now : Installing docker\e[0m" curl -fsSL https://get.docker.com/ | sh sudo systemctl start docker sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 now=$(date +'%H:%M:%S') echo -e "\e[1mStep 5 $now : Installing docker-compose\e[0m" sudo yum install docker-ce -y sudo yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/pigz-2.3.4-1.el7.x86_64.rpm -y sudo yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.21-1.el7.noarch.rpm -y sudo yum list docker-ce --showduplicates | sort -r docker-ce.x86_64 17.09.ce-1.el7.centos docker-ce-stable sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version now=$(date +'%H:%M:%S') echo -e "\e[1mStep 6 $now : installing nodejs\e[0m" curl -sL https://rpm.nodesource.com/setup_20.x | sudo bash - sudo yum install nodejs -y node --version now=$(date +'%H:%M:%S') echo -e "\e[1mStep 8 $now : Installing npm\e[0m" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash sudo nvm --version sudo nvm install node sudo nvm install --lts sudo nvm install 9.6.7 now=$(date +'%H:%M:%S') echo -e "\e[1mStep 7 $now : installing awscli\e[0m" curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install aws --version now=$(date +'%H:%M:%S') echo -e "\e[1mStep 9 $now : Enter your domain address to configure erxes\e[0m" sudo npm install -g create-erxes-app -y 17:T1e9e,#!/bin/bash now=$(date +'%H:%M:%S') echo -e "\e[1mStep 1 $now : Updating \e[0m" sudo yum update -y sudo yum install epel-release -y now=$(date +'%H:%M:%S') echo -e "\e[1mStep 2 $now : Installing nginx\e[0m" sudo yum install nginx -y sudo systemctl start nginx sudo yum check-update now=$(date +'%H:%M:%S') echo -e "\e[1mStep 3 $now : Installing docker\e[0m" curl -fsSL https://get.docker.com/ | sh sudo systemctl start docker sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2 now=$(date +'%H:%M:%S') echo -e "\e[1mStep 5 $now : Installing docker-compose\e[0m" sudo yum install docker-ce -y sudo yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/pigz-2.3.4-1.el7.x86_64.rpm -y sudo yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.21-1.el7.noarch.rpm -y sudo yum list docker-ce --showduplicates | sort -r docker-ce.x86_64 17.09.ce-1.el7.centos docker-ce-stable sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version now=$(date +'%H:%M:%S') echo -e "\e[1mStep 6 $now : installing nodejs\e[0m" curl -sL https://rpm.nodesource.com/setup_20.x | sudo bash - sudo yum install nodejs -y node --version now=$(date +'%H:%M:%S') echo -e "\e[1mStep 8 $now : Installing npm\e[0m" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash sudo nvm --version sudo nvm install node sudo nvm install --lts sudo nvm install 9.6.7 now=$(date +'%H:%M:%S') echo -e "\e[1mStep 7 $now : installing awscli\e[0m" curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install aws --version now=$(date +'%H:%M:%S') echo -e "\e[1mStep 9 $now : Enter your domain address to configure erxes\e[0m" sudo npm install -g create-erxes-app -y 18:Tfbb,{ "name": "erxes", "private": true, "version": "0.1.0", "scripts": { "erxes": "erxes" }, "dependencies": { "amqplib": "^0.8.0", "create-erxes-app": "0.0.28", "dup": "^1.0.0", #Change here "erxes": "change me", "ip": "^1.1.5", "up": "^1.0.2" } } 19:T40c,docker exec -it <mongo container name> bash mongo -u erxes -p <auto generated in configs.json> rs.initiate(); 1a:T13b8,server { server_name example.com; index index.html; client_max_body_size 50M; client_header_buffer_size 32k; location / { access_log /var/log/nginx/erxes-front.access.log; error_log /var/log/nginx/erxes-front.error.log; proxy_pass http://127.0.0.1:3000; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /widgets/ { access_log /var/log/nginx/erxes-widgets.access.log; error_log /var/log/nginx/erxes-widgets.error.log; proxy_pass http://127.0.0.1:3200/; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; } location /gateway/ { access_log /var/log/nginx/erxes-api.access.log; error_log /var/log/nginx/erxes-api.error.log; proxy_pass http://127.0.0.1:3300/; proxy_http_version 1.1; proxy_buffering off; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } location /mobile-app/ { access_log /var/log/nginx/erxes-mobile-app.access.log; error_log /var/log/nginx/erxes-mobile-app.error.log; proxy_pass http://127.0.0.1:4100/; proxy_http_version 1.1; proxy_buffering off; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } location /integrations/ { access_log /var/log/nginx/erxes-integrations.access.log; error_log /var/log/nginx/erxes-integrations.error.log; proxy_pass http://127.0.0.1:3400/; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /dashboard/front { access_log /var/log/nginx/erxes-integrations.access.log; error_log /var/log/nginx/erxes-integrations.error.log; proxy_pass http://127.0.0.1:4200; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /dashboard/api/ { access_log /var/log/nginx/erxes-integrations.access.log; error_log /var/log/nginx/erxes-integrations.error.log; proxy_pass http://127.0.0.1:4300/; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } 1b:T4152,server { server_name example.com; index index.html; client_max_body_size 50M; client_header_buffer_size 32k; location / { access_log /var/log/nginx/erxes-front.access.log; error_log /var/log/nginx/erxes-front.error.log; proxy_pass http://127.0.0.1:3000; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /widgets/ { access_log /var/log/nginx/erxes-widgets.access.log; error_log /var/log/nginx/erxes-widgets.error.log; proxy_pass http://127.0.0.1:3200/; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; } location /gateway/ { access_log /var/log/nginx/erxes-api.access.log; error_log /var/log/nginx/erxes-api.error.log; proxy_pass http://127.0.0.1:3300/; proxy_http_version 1.1; proxy_buffering off; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } location /mobile-app/ { access_log /var/log/nginx/erxes-mobile-app.access.log; error_log /var/log/nginx/erxes-mobile-app.error.log; proxy_pass http://127.0.0.1:4100/; proxy_http_version 1.1; proxy_buffering off; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; } location /integrations/ { access_log /var/log/nginx/erxes-integrations.access.log; error_log /var/log/nginx/erxes-integrations.error.log; proxy_pass http://127.0.0.1:3400/; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /dashboard/front { access_log /var/log/nginx/erxes-integrations.access.log; error_log /var/log/nginx/erxes-integrations.error.log; proxy_pass http://127.0.0.1:4200; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /dashboard/api/ { access_log /var/log/nginx/erxes-integrations.access.log; error_log /var/log/nginx/erxes-integrations.error.log; proxy_pass http://127.0.0.1:4300/; proxy_http_version 1.1; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } 1c:Ta07,{ "jwt_token_secret": "will be generated in configs.json", "db_server_address": "ip address of your machine", "secondary_server_address": "", "image_tag": "dev", "domain": "https://example.com", "widgets": { "domain": "https://example.com/widgets" }, "elasticsearch": {}, "essyncer": {}, "redis": { "password": "will be generated in configs.json" }, "mongo": { "username": "erxes", "password": "will be generated in configs.json", }, "rabbitmq": { "cookie": "", "user": "erxes", "pass": "will be generated in configs.json", "vhost": "" }, "plugins": [ { "name": "inbox", "extra_env": { "INTEGRATIONS_MONGO_URL": "will be generated in docker-compose-dbs.yml", "FB_MONGO_URL": "will be generated in docker-compose-dbs.yml" } }, { "name": "cards" }, { "name": "contacts" }, { "name": "internalnotes" }, { "name": "notifications" }, { "name": "automations", "db_name": "erxes_automations" }, { "name": "products" }, { "name": "forms" }, { "name": "inventories" }, { "name": "segments" }, { "name": "tags" }, { "name": "engages" }, { "name": "logs", "db_name": "erxes_logger" }, { "name": "clientportal", "extra_env": { "JWT_TOKEN_SECRET": "" } }, { "name": "webbuilder" }, { "name": "knowledgebase" }, { "name": "emailtemplates" }, { "name": "integrations", "db_name": "erxes_integrations", "extra_env": { "ENDPOINT_URL": "https://enterprise.erxes.io" } }, { "name": "dashboard" }, { "name": "documents" }, { "name": "filemanager" }, { "name": "facebook", "extra_env": { "ENDPOINT_URL": "https://enterprise.erxes.io", "MONGO_URL": "will be generated in docker-compose-dbs.yml" } } ] } 1d:T5225,{ "jwt_token_secret": "will be generated in configs.json", "db_server_address": "ip address of your machine", "secondary_server_address": "", "image_tag": "dev", "domain": "https://example.com", "widgets": { "domain": "https://example.com/widgets" }, "elasticsearch": {}, "essyncer": {}, "redis": { "password": "will be generated in configs.json" }, "mongo": { "username": "erxes", "password": "will be generated in configs.json", }, "rabbitmq": { "cookie": "", "user": "erxes", "pass": "will be generated in configs.json", "vhost": "" }, "plugins": [ { "name": "inbox", "extra_env": { "INTEGRATIONS_MONGO_URL": "will be generated in docker-compose-dbs.yml", "FB_MONGO_URL": "will be generated in docker-compose-dbs.yml" } }, { "name": "cards" }, { "name": "contacts" }, { "name": "internalnotes" }, { "name": "notifications" }, { "name": "automations", "db_name": "erxes_automations" }, { "name": "products" }, { "name": "forms" }, { "name": "inventories" }, { "name": "segments" }, { "name": "tags" }, { "name": "engages" }, { "name": "logs", "db_name": "erxes_logger" }, { "name": "clientportal", "extra_env": { "JWT_TOKEN_SECRET": "" } }, { "name": "webbuilder" }, { "name": "knowledgebase" }, { "name": "emailtemplates" }, { "name": "integrations", "db_name": "erxes_integrations", "extra_env": { "ENDPOINT_URL": "https://enterprise.erxes.io" } }, { "name": "dashboard" }, { "name": "documents" }, { "name": "filemanager" }, { "name": "facebook", "extra_env": { "ENDPOINT_URL": "https://enterprise.erxes.io", "MONGO_URL": "will be generated in docker-compose-dbs.yml" } } ] } 4:["$","html",null,{"lang":"en","className":"h-full","suppressHydrationWarning":true,"children":["$","body",null,{"className":"flex min-h-full bg-white antialiased dark:bg-zinc-900","children":["$","$L5",null,{"children":["$","div",null,{"className":"w-full","children":["$","$L6",null,{"allSections":{"/":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/authentication":[{"title":"GraphQL API","id":"graphql"},{"title":"Postman Collection","id":"postman"},{"title":"Code reference","id":"reference"}],"/contacts":[{"title":"Panel","id":"panel"},{"title":"Marketplace","id":"marketplace"}],"/customer":[{"title":"XM for B2B order","id":"xm-for-b2-b-order"},{"title":"XM for B2B Sales","id":"xm-for-b2-b-sales"},{"title":"XM for Catering","id":"xm-for-catering"},{"title":"XM for Ecommerce","id":"xm-for-ecommerce"},{"title":"XM for POS","id":"xm-for-pos"},{"title":"XM for Scheduling","id":"xm-for-scheduling"}],"/conversations":[{"title":"System configuration","id":"system-configuration"},{"title":"Permission","id":"permission"},{"title":"Team member","id":"team-member"},{"title":"Brands","id":"brands"},{"title":"Import/Export","id":"import-export"},{"title":"Channel","id":"channel"},{"title":"Script Installation","id":"script-installation"}],"/attachments":[{"title":"The attachment model","id":"the-attachment-model"},{"title":"List all attachments","id":"list-all-attachments","tag":"GET","label":"/v1/attachments"},{"title":"Create an attachment","id":"create-an-attachment","tag":"POST","label":"/v1/attachments"},{"title":"Retrieve an attachment","id":"retrieve-an-attachment","tag":"GET","label":"/v1/attachments/:id"},{"title":"Update an attachment","id":"update-an-attachment","tag":"PUT","label":"/v1/attachments/:id"},{"title":"Delete an attachment","id":"delete-an-attachment","tag":"DELETE","label":"/v1/attachments/:id"}],"/errors":[{"title":"Status codes","id":"status-codes"},{"title":"Error types","id":"error-types"}],"/groups":[{"title":"Products","id":"products"},{"title":"Script Installation","id":"script-installation"},{"title":"Employee Experience Management","id":"employee-experience-management"},{"title":"Industries","id":"industries"},{"title":"Teams","id":"teams"},{"title":"Employee Experience Management","id":"employee-experience-management-2"}],"/intro":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"frequently-asked-questions"}],"/marketing":[{"title":"XM for Marketing automation","id":"xm-for-marketing-automation"},{"title":"XM for Newsletter","id":"xm-for-newsletter"},{"title":"XM for Survey","id":"xm-for-survey"}],"/finance":[{"title":"XM for Leasing","id":"xm-for-leasing"},{"title":"XM for Payment","id":"xm-for-payment"},{"title":"XM for Rental","id":"xm-for-rental"}],"/pagination":[{"title":"Contribute to codebase","id":"contribute-to-codebase"},{"title":"Contribute to documentation","id":"contribute-to-documentation"},{"title":"Documentation style guide","id":"documentation-style-guide"}],"/quickstart":[{"title":"Local installation","id":"local-installation"},{"title":"Server installation","id":"server-installation"}],"/requirement":[],"/frontline":[{"title":"XM for CallCenter","id":"xm-for-call-center"},{"title":"XM for Chatbot","id":"xm-for-chatbot"},{"title":"XM for Help Center","id":"xm-for-help-center"},{"title":"XM for Ticket Management","id":"xm-for-ticket-management"}],"/webhooks":[{"title":"Registering webhooks","id":"registering-webhooks"},{"title":"Consuming webhooks","id":"consuming-webhooks"},{"title":"Event types","id":"event-types"},{"title":"Security","id":"security"}],"/employee":[],"/authentication/graphql":[],"/messages":[{"title":"Team Inbox","id":"team-inbox"},{"title":"Introduction to add-ons","id":"introduction-to-add-ons"},{"title":"Introduction to services","id":"introduction-to-services"},{"title":"Introduction to power-ups","id":"introduction-to-power-ups"}],"/authentication/postman":[],"/authentication/reference":[{"title":"UI","id":"ui"},{"title":"API","id":"api"}],"/contacts/market":[],"/contacts/panel":[{"title":"Admin Panel","id":"panel"},{"title":"Marketplace","id":"market"}],"/sdks":[{"title":"Create General Plugin","id":"create-general-plugin"},{"title":"Create Integration plugin","id":"create-integration-plugin"}],"/conversations/permission":[{"title":"Permission","id":"permission"}],"/conversations/impexp":[{"title":"Import/Export","id":"import-export"}],"/conversations/channel":[{"title":"Channel","id":"channel"}],"/conversations/script":[{"title":"Script Installation","id":"script-installation"}],"/conversations/system":[{"title":"System configuration","id":"system-configuration"}],"/groups/team":[{"title":"Employee Experience Management","id":"employee-experience-management"},{"title":"Centralized complete HR database","id":"centralized-complete-hr-database"},{"title":"Knowledge, onboarding & training campaign","id":"knowledge-onboarding-and-training-campaign"},{"title":"Automatically generated HR templates","id":"automatically-generated-hr-templates"},{"title":"Fully customizable recruitment pipeline","id":"fully-customizable-recruitment-pipeline"},{"title":"The next generation of time-tracking system","id":"the-next-generation-of-time-tracking-system"},{"title":"Clear view of employee productivity","id":"clear-view-of-employee-productivity"},{"title":"Employee feed & Communication","id":"employee-feed-and-communication"},{"title":"Quick and efficient asset record","id":"quick-and-efficient-asset-record"}],"/groups/products":[],"/pagination/contributedoc":[],"/conversations/team":[{"title":"Team member","id":"team-member"}],"/pagination/codebase":[{"title":"Prerequisites","id":"prerequisites"},{"title":"Issues before PRs","id":"issues-before-prs"}],"/quickstart/groups":[],"/quickstart/deployment":[],"/requirement/customer":[],"/authentication/graphql/enu":[{"title":"CacheControlScope","id":"cache-control-scope"},{"title":"ChatMemberModifyType","id":"chat-member-modify-type"},{"title":"ChatType","id":"chat-type"},{"title":"ChatVisibilityType","id":"chat-visibility-type"},{"title":"ClientPortalUserVerificationStatus","id":"client-portal-user-verification-status"},{"title":"ContentType","id":"content-type"},{"title":"ExmGoingOrInterested","id":"exm-going-or-interested"},{"title":"FilterType","id":"filter-type"},{"title":"NotificationType","id":"notification-type"},{"title":"ReactionContentType","id":"reaction-content-type"},{"title":"RecipientType","id":"recipient-type"},{"title":"SourceType","id":"source-type"}],"/pagination/docstyle":[{"title":"Markdown Syntax","id":"markdown-syntax"},{"title":"Headers","id":"headers"},{"title":"H2 - Create the best documentation","id":"h2-create-the-best-documentation"},{"title":"H3 - Create the best documentation","id":"h3-create-the-best-documentation"},{"title":"Reference-style: ","id":"reference-style"},{"title":"Quote break.","id":"quote-break"}],"/requirement/employee":[{"title":"Assumptions","id":"assumptions"},{"title":"Scalability","id":"scalability"},{"title":"Security","id":"security"},{"title":"Usability","id":"usability"},{"title":"Performance","id":"performance"}],"/authentication/graphql/input":[{"title":"ActionInput","id":"action-input"},{"title":"AttachmentInput","id":"attachment-input"},{"title":"BookingStyleInput","id":"booking-style-input"},{"title":"ClientPortalUserUpdate","id":"client-portal-user-update"},{"title":"ConversationMessageParams","id":"conversation-message-params"},{"title":"CoordinateInput","id":"coordinate-input"},{"title":"EmailSignature","id":"email-signature"},{"title":"EngageMessageSmsInput","id":"engage-message-sms-input"},{"title":"EngageMessageEmail","id":"engage-message-email"},{"title":"EngageMessageMessenger","id":"engage-message-messenger"},{"title":"EngageScheduleDateInput","id":"engage-schedule-date-input"},{"title":"EventAttributeFilter","id":"event-attribute-filter"},{"title":"ExmAppearanceInput","id":"exm-appearance-input"},{"title":"ExmEventDataInput","id":"exm-event-data-input"},{"title":"ExmFeatureInput","id":"exm-feature-input"},{"title":"ExmWelcomeContentInput","id":"exm-welcome-content-input"},{"title":"FieldItem","id":"field-item"},{"title":"FieldValueInput","id":"field-value-input"},{"title":"FormCodeInput","id":"form-code-input"},{"title":"FormSubmissionInput","id":"form-submission-input"},{"title":"IMovementItem","id":"i-movement-item"},{"title":"InputRule","id":"input-rule"},{"title":"IntegrationBookingData","id":"integration-booking-data"},{"title":"IntegrationLinks","id":"integration-links"},{"title":"IntegrationLeadData","id":"integration-lead-data"},{"title":"IntegrationMessengerData","id":"integration-messenger-data"},{"title":"Interval","id":"interval"},{"title":"ItemDate","id":"item-date"},{"title":"InvitationEntry","id":"invitation-entry"},{"title":"KnowledgeBaseArticleDoc","id":"knowledge-base-article-doc"},{"title":"KnowledgeBaseCategoryDoc","id":"knowledge-base-category-doc"},{"title":"KnowledgeBaseMessengerAppInput","id":"knowledge-base-messenger-app-input"},{"title":"KnowledgeBaseTopicDoc","id":"knowledge-base-topic-doc"},{"title":"LeadMessengerAppInput","id":"lead-messenger-app-input"},{"title":"LocationOptionInput","id":"location-option-input"},{"title":"LogicInput","id":"logic-input"},{"title":"MailConfigInput","id":"mail-config-input"},{"title":"MessengerAppsInput","id":"messenger-apps-input"},{"title":"MessengerOnlineHoursSchema","id":"messenger-online-hours-schema"},{"title":"MessengerUiOptions","id":"messenger-ui-options"},{"title":"NotificationConfigInput","id":"notification-config-input"},{"title":"objectListConfigInput","id":"object-list-config-input"},{"title":"OrderItem","id":"order-item"},{"title":"OTPConfigInput","id":"otp-config-input"},{"title":"PipelineTemplateStageInput","id":"pipeline-template-stage-input"},{"title":"ProductField","id":"product-field"},{"title":"SegmentCondition","id":"segment-condition"},{"title":"StylesParams","id":"styles-params"},{"title":"ShiftsRequestInput","id":"shifts-request-input"},{"title":"SubmissionFilter","id":"submission-filter"},{"title":"SubSegment","id":"sub-segment"},{"title":"TriggerInput","id":"trigger-input"},{"title":"UserDetails","id":"user-details"},{"title":"WebSiteMessengerAppInput","id":"web-site-messenger-app-input"}],"/authentication/graphql/mutations":[],"/authentication/graphql/queries":[{"title":"absenceDetail","id":"absence-detail"},{"title":"ActionInput","id":"action-input"},{"title":"absenceTypes","id":"absence-types"},{"title":"activeMe","id":"active-me"},{"title":"activityLogs","id":"activity-logs"},{"title":"activityLogsByAction","id":"activity-logs-by-action"},{"title":"allBrands","id":"all-brands"},{"title":"allLeadIntegrations","id":"all-lead-integrations"},{"title":"allUsers","id":"all-users"},{"title":"BookingStyleInput","id":"booking-style-input"},{"title":"ClientPortalUserUpdate","id":"client-portal-user-update"},{"title":"ConversationMessageParams","id":"conversation-message-params"},{"title":"CoordinateInput","id":"coordinate-input"},{"title":"EmailSignature","id":"email-signature"},{"title":"EngageMessageSmsInput","id":"engage-message-sms-input"},{"title":"EngageMessageEmail","id":"engage-message-email"},{"title":"EngageMessageMessenger","id":"engage-message-messenger"},{"title":"EngageScheduleDateInput","id":"engage-schedule-date-input"},{"title":"EventAttributeFilter","id":"event-attribute-filter"},{"title":"ExmAppearanceInput","id":"exm-appearance-input"},{"title":"ExmEventDataInput","id":"exm-event-data-input"},{"title":"ExmFeatureInput","id":"exm-feature-input"},{"title":"ExmWelcomeContentInput","id":"exm-welcome-content-input"},{"title":"FieldItem","id":"field-item"},{"title":"FieldValueInput","id":"field-value-input"},{"title":"FormCodeInput","id":"form-code-input"},{"title":"FormSubmissionInput","id":"form-submission-input"},{"title":"IMovementItem","id":"i-movement-item"},{"title":"InputRule","id":"input-rule"},{"title":"IntegrationBookingData","id":"integration-booking-data"},{"title":"IntegrationLinks","id":"integration-links"},{"title":"IntegrationLeadData","id":"integration-lead-data"},{"title":"IntegrationMessengerData","id":"integration-messenger-data"},{"title":"Interval","id":"interval"},{"title":"ItemDate","id":"item-date"},{"title":"InvitationEntry","id":"invitation-entry"},{"title":"KnowledgeBaseArticleDoc","id":"knowledge-base-article-doc"},{"title":"KnowledgeBaseCategoryDoc","id":"knowledge-base-category-doc"},{"title":"KnowledgeBaseMessengerAppInput","id":"knowledge-base-messenger-app-input"},{"title":"KnowledgeBaseTopicDoc","id":"knowledge-base-topic-doc"},{"title":"LeadMessengerAppInput","id":"lead-messenger-app-input"},{"title":"LocationOptionInput","id":"location-option-input"},{"title":"LogicInput","id":"logic-input"},{"title":"MailConfigInput","id":"mail-config-input"},{"title":"MessengerAppsInput","id":"messenger-apps-input"},{"title":"MessengerOnlineHoursSchema","id":"messenger-online-hours-schema"},{"title":"MessengerUiOptions","id":"messenger-ui-options"},{"title":"NotificationConfigInput","id":"notification-config-input"},{"title":"objectListConfigInput","id":"object-list-config-input"},{"title":"OrderItem","id":"order-item"},{"title":"OTPConfigInput","id":"otp-config-input"},{"title":"PipelineTemplateStageInput","id":"pipeline-template-stage-input"},{"title":"ProductField","id":"product-field"},{"title":"SegmentCondition","id":"segment-condition"},{"title":"StylesParams","id":"styles-params"},{"title":"ShiftsRequestInput","id":"shifts-request-input"},{"title":"SubmissionFilter","id":"submission-filter"},{"title":"SubSegment","id":"sub-segment"},{"title":"TriggerInput","id":"trigger-input"},{"title":"UserDetails","id":"user-details"},{"title":"WebSiteMessengerAppInput","id":"web-site-messenger-app-input"}],"/authentication/graphql/object":[{"title":"Absence","id":"absence"},{"title":"AbsenceType","id":"absence-type"},{"title":"Action","id":"action"},{"title":"ActivityLog","id":"activity-log"},{"title":"ActivityLogByAction","id":"activity-log-by-action"},{"title":"ActivityLogByActionResponse","id":"activity-log-by-action-response"},{"title":"App","id":"app"},{"title":"Asset","id":"asset"},{"title":"AssetCategory","id":"asset-category"},{"title":"Assignment","id":"assignment"},{"title":"AssignmentCampaign","id":"assignment-campaign"},{"title":"AssignmentMain","id":"assignment-main"},{"title":"Attachment","id":"attachment"},{"title":"Automation","id":"automation"},{"title":"AutomationHistory","id":"automation-history"},{"title":"AutomationNote","id":"automation-note"},{"title":"AutomationsListResponse","id":"automations-list-response"},{"title":"automationsTotalCountResponse","id":"automations-total-count-response"},{"title":"AvgEmailStats","id":"avg-email-stats"},{"title":"Board","id":"board"},{"title":"BoardCount","id":"board-count"},{"title":"BookingData","id":"booking-data"},{"title":"BookingProduct","id":"booking-product"},{"title":"Branch","id":"branch"},{"title":"BranchListQueryResponse","id":"branch-list-query-response"},{"title":"Brand","id":"brand"},{"title":"Callout","id":"callout"},{"title":"Channel","id":"channel"},{"title":"Chat","id":"chat"},{"title":"ChatMessage","id":"chat-message"},{"title":"ChatMessageResponse","id":"chat-message-response"},{"title":"ChatResponse","id":"chat-response"},{"title":"ChatTypingStatusChangedResponse","id":"chat-typing-status-changed-response"},{"title":"ChatUser","id":"chat-user"},{"title":"ChatUserDetails","id":"chat-user-details"},{"title":"Checklist","id":"checklist"},{"title":"ChecklistItem","id":"checklist-item"},{"title":"CheckReport","id":"check-report"},{"title":"ClientPortal","id":"client-portal"},{"title":"ClientPortalComment","id":"client-portal-comment"},{"title":"ClientPortalNotification","id":"client-portal-notification"},{"title":"ClientPortalUser","id":"client-portal-user"},{"title":"clientPortalUsersListResponse","id":"client-portal-users-list-response"},{"title":"ColumnConfigItem","id":"column-config-item"},{"title":"Comment","id":"comment"},{"title":"CommentResponse","id":"comment-response"},{"title":"CompaniesListResponse","id":"companies-list-response"},{"title":"Company","id":"company"},{"title":"Config","id":"config"},{"title":"ConfigDay","id":"config-day"},{"title":"Conformity","id":"conformity"},{"title":"Conversation","id":"conversation"},{"title":"ConversationAdminMessageInsertedResponse","id":"conversation-admin-message-inserted-response"},{"title":"ConversationChangedResponse","id":"conversation-changed-response"},{"title":"ConversationClientTypingStatusChangedResponse","id":"conversation-client-typing-status-changed-response"},{"title":"ConversationDetailResponse","id":"conversation-detail-response"},{"title":"ConversationMessage","id":"conversation-message"},{"title":"ConvertTo","id":"convert-to"},{"title":"Coordinate","id":"coordinate"},{"title":"Customer","id":"customer"},{"title":"CustomerConnectionChangedResponse","id":"customer-connection-changed-response"},{"title":"CustomersListResponse","id":"customers-list-response"},{"title":"Dashboard","id":"dashboard"},{"title":"DashboardItem","id":"dashboard-item"},{"title":"DashboardListResponse","id":"dashboard-list-response"},{"title":"Deal","id":"deal"},{"title":"DealListItem","id":"deal-list-item"},{"title":"DealTotalCurrency","id":"deal-total-currency"},{"title":"DeliveryList","id":"delivery-list"},{"title":"DeliveryReport","id":"delivery-report"},{"title":"Department","id":"department"},{"title":"DepartmentListQueryResponse","id":"department-list-query-response"},{"title":"DeviceConfig","id":"device-config"},{"title":"DeviceConfigsListResponse","id":"device-configs-list-response"},{"title":"Document","id":"document"},{"title":"DocumentEditorAttribute","id":"document-editor-attribute"},{"title":"Donate","id":"donate"},{"title":"DonateCampaign","id":"donate-campaign"},{"title":"DonateMain","id":"donate-main"},{"title":"Email","id":"email"},{"title":"EmailDelivery","id":"email-delivery"},{"title":"EmailDeliveryList","id":"email-delivery-list"},{"title":"EmailTemplate","id":"email-template"},{"title":"EngageData","id":"engage-data"},{"title":"EngageDeliveryReport","id":"engage-delivery-report"},{"title":"EngageLog","id":"engage-log"},{"title":"EngageMessage","id":"engage-message"},{"title":"EngageMessageSms","id":"engage-message-sms"},{"title":"EngageScheduleDate","id":"engage-schedule-date"},{"title":"ENV","id":"env"},{"title":"Error","id":"error"},{"title":"Exm","id":"exm"},{"title":"ExmAppearance","id":"exm-appearance"},{"title":"ExmCeremonyData","id":"exm-ceremony-data"},{"title":"ExmEventData","id":"exm-event-data"},{"title":"ExmFeature","id":"exm-feature"},{"title":"ExmFeed","id":"exm-feed"},{"title":"ExmFeedResponse","id":"exm-feed-response"},{"title":"ExmList","id":"exm-list"},{"title":"ExmThank","id":"exm-thank"},{"title":"ExmThankResponse","id":"exm-thank-response"},{"title":"ExmWelcomeContent","id":"exm-welcome-content"},{"title":"ExportHistory","id":"export-history"},{"title":"ExportHistoryList","id":"export-history-list"},{"title":"FacebookComment","id":"facebook-comment"},{"title":"FacebookConversationMessage","id":"facebook-conversation-message"},{"title":"FacebookCustomer","id":"facebook-customer"},{"title":"FacebookPost","id":"facebook-post"},{"title":"Field","id":"field"},{"title":"FieldsGroup","id":"fields-group"},{"title":"Form","id":"form"},{"title":"FormCode","id":"form-code"},{"title":"FormConnectResponse","id":"form-connect-response"},{"title":"FormSubmission","id":"form-submission"},{"title":"GrowthHack","id":"growth-hack"},{"title":"IMap","id":"i-map"},{"title":"IMapIntegration","id":"i-map-integration"},{"title":"ImportHistory","id":"import-history"},{"title":"ImportHistoryList","id":"import-history-list"},{"title":"InboxField","id":"inbox-field"},{"title":"Integration","id":"integration"},{"title":"integrationsGetUsedTypes","id":"integrations-get-used-types"},{"title":"integrationsTotalCount","id":"integrations-total-count"},{"title":"InternalNote","id":"internal-note"},{"title":"InternalNotesByAction","id":"internal-notes-by-action"},{"title":"Invoice","id":"invoice"},{"title":"invoicesTotalCount","id":"invoices-total-count"},{"title":"ItemSourceLocation","id":"item-source-location"},{"title":"IUserAbsenceInfo","id":"iuser-absence-info"},{"title":"KnowledgebaseApp","id":"knowledgebase-app"},{"title":"KnowledgeBaseArticle","id":"knowledge-base-article"},{"title":"KnowledgeBaseCategory","id":"knowledge-base-category"},{"title":"KnowledgeBaseLoader","id":"knowledge-base-loader"},{"title":"KnowledgeBaseParentCategory","id":"knowledge-base-parent-category"},{"title":"KnowledgeBaseTopic","id":"knowledge-base-topic"},{"title":"LeadApp","id":"lead-app"},{"title":"List","id":"list"},{"title":"LocationOption","id":"location-option"},{"title":"Log","id":"log"},{"title":"Logic","id":"logic"},{"title":"LogList","id":"log-list"},{"title":"Lottery","id":"lottery"},{"title":"LotteryCampaign","id":"lottery-campaign"},{"title":"LotteryMain","id":"lottery-main"},{"title":"Loyalty","id":"loyalty"},{"title":"LoyaltyConfig","id":"loyalty-config"},{"title":"MailAttachment","id":"mail-attachment"},{"title":"MailConfig","id":"mail-config"},{"title":"MailData","id":"mail-data"},{"title":"ManualVerificationConfig","id":"manual-verification-config"},{"title":"MessengerApp","id":"messenger-app"},{"title":"MessengerAppsResponse","id":"messenger-apps-response"},{"title":"MessengerConnectResponse","id":"messenger-connect-response"},{"title":"MessengerSupportersResponse","id":"messenger-supporters-response"},{"title":"ModifiedNote","id":"modified-note"},{"title":"Movement","id":"movement"},{"title":"MovementItem","id":"movement-item"},{"title":"Notification","id":"notification"},{"title":"NotificationConfig","id":"notification-config"},{"title":"NotificationConfiguration","id":"notification-configuration"},{"title":"ObjectListConfig","id":"object-list-config"},{"title":"OnboardingGetAvailableFeaturesResponse","id":"onboarding-get-available-features-response"},{"title":"OnboardingHistory","id":"onboarding-history"},{"title":"OnboardingNotification","id":"onboarding-notification"},{"title":"OTPConfig","id":"otp-config"},{"title":"PayDate","id":"pay-date"},{"title":"Payment","id":"payment"},{"title":"PaymentConfig","id":"payment-config"},{"title":"PaymentConfigList","id":"payment-config-list"},{"title":"paymentsTotalCount","id":"payments-total-count"},{"title":"Permission","id":"permission"},{"title":"PermissionAction","id":"permission-action"},{"title":"PermissionModule","id":"permission-module"},{"title":"Pipeline","id":"pipeline"},{"title":"PipelineChangeResponse","id":"pipeline-change-response"},{"title":"PipelineLabel","id":"pipeline-label"},{"title":"PipelineTemplate","id":"pipeline-template"},{"title":"PipelineTemplateStage","id":"pipeline-template-stage"},{"title":"Product","id":"product"},{"title":"ProductCategory","id":"product-category"},{"title":"ProductsConfig","id":"products-config"},{"title":"Report","id":"report"},{"title":"ReportsListResponse","id":"reports-list-response"},{"title":"RequestsListResponse","id":"requests-list-response"},{"title":"ResponseTemplate","id":"response-template"},{"title":"RobotEntry","id":"robot-entry"},{"title":"Rule","id":"rule"},{"title":"SaveFormResponse","id":"save-form-response"},{"title":"Schedule","id":"schedule"},{"title":"ScheduleConfig","id":"schedule-config"},{"title":"ScheduleReport","id":"schedule-report"},{"title":"SchedulesListResponse","id":"schedules-list-response"},{"title":"SchemaField","id":"schema-field"},{"title":"ScoreLog","id":"score-log"},{"title":"Script","id":"script"},{"title":"SeenInfo","id":"seen-info"},{"title":"Segment","id":"segment"},{"title":"ShiftsRequest","id":"shifts-request"},{"title":"Skill","id":"skill"},{"title":"SkillType","id":"skill-type"},{"title":"SmsDelivery","id":"sms-delivery"},{"title":"SmsStatus","id":"sms-status"},{"title":"Spin","id":"spin"},{"title":"SpinCampaign","id":"spin-campaign"},{"title":"SpinMain","id":"spin-main"},{"title":"Stage","id":"stage"},{"title":"Structure","id":"structure"},{"title":"Styles","id":"styles"},{"title":"Submission","id":"submission"},{"title":"SuccessResult","id":"success-result"},{"title":"Tag","id":"tag"},{"title":"Task","id":"task"},{"title":"TaskListItem","id":"task-list-item"},{"title":"Ticket","id":"ticket"},{"title":"TicketListItem","id":"ticket-list-item"},{"title":"Timeclock","id":"timeclock"},{"title":"TimeClocksListResponse","id":"time-clocks-list-response"},{"title":"Timelog","id":"timelog"},{"title":"TimelogListResponse","id":"timelog-list-response"},{"title":"TimeTrack","id":"time-track"},{"title":"TotalForType","id":"total-for-type"},{"title":"Trigger","id":"trigger"},{"title":"Unit","id":"unit"},{"title":"UnitListQueryResponse","id":"unit-list-query-response"},{"title":"Uom","id":"uom"},{"title":"User","id":"user"},{"title":"UserConversationListResponse","id":"user-conversation-list-response"},{"title":"UserDetailsType","id":"user-details-type"},{"title":"UserMovement","id":"user-movement"},{"title":"UserNotificationSettings","id":"user-notification-settings"},{"title":"UserReport","id":"user-report"},{"title":"UsersGroup","id":"users-group"},{"title":"UserStatus","id":"user-status"},{"title":"VerificationRequest","id":"verification-request"},{"title":"VideoCallData","id":"video-call-data"},{"title":"Voucher","id":"voucher"},{"title":"VoucherCampaign","id":"voucher-campaign"},{"title":"VoucherMain","id":"voucher-main"},{"title":"WebbuilderContentType","id":"webbuilder-content-type"},{"title":"WebbuilderContentTypesList","id":"webbuilder-content-types-list"},{"title":"WebbuilderEntriesList","id":"webbuilder-entries-list"},{"title":"WebbuilderEntry","id":"webbuilder-entry"},{"title":"WebbuilderPage","id":"webbuilder-page"},{"title":"WebbuilderPagesList","id":"webbuilder-pages-list"},{"title":"WebbuilderSite","id":"webbuilder-site"},{"title":"WebbuilderTemplate","id":"webbuilder-template"},{"title":"WebSiteApp","id":"web-site-app"},{"title":"Zalo","id":"zalo"},{"title":"ZaloAccount","id":"zalo-account"},{"title":"ZaloAttachmentPayload","id":"zalo-attachment-payload"},{"title":"ZaloAttachments","id":"zalo-attachments"},{"title":"ZaloConversationMessage","id":"zalo-conversation-message"}],"/messages/add":[],"/authentication/graphql/scalars":[{"title":"Boolean","id":"boolean"},{"title":"Date","id":"date"},{"title":"Float","id":"float"},{"title":"Int","id":"int"},{"title":"JSON","id":"json"},{"title":"String","id":"string"}],"/messages/channels":[{"title":"With Channels, you can do...","id":"with-channels-you-can-do"},{"title":"Creating your channels","id":"creating-your-channels"}],"/messages/response":[{"title":"With Response Template, you can do...","id":"with-response-template-you-can-do"},{"title":"Create your response template","id":"create-your-response-template"}],"/messages/power":[],"/messages/services":[],"/conversations/brands":[{"title":"Brands","id":"brands"}],"/authentication/graphql/intro":[],"/authentication/reference/ui":[],"/sdks/creategen":[{"title":"GraphQL development","id":"graph-ql-development"},{"title":"UI file structure","id":"ui-file-structure"},{"title":"Main files","id":"main-files"},{"title":"UI development","id":"ui-development"},{"title":"Running port for plugin","id":"running-port-for-plugin"},{"title":"Location for plugin","id":"location-for-plugin"},{"title":"Enabling plugins","id":"enabling-plugins"}],"/sdks/createinte":[{"title":"Create an integration","id":"create-an-integration"},{"title":"Receive data from your desired APIs","id":"receive-data-from-your-desired-apis"},{"title":"Store the data","id":"store-the-data"},{"title":"Conversation detail","id":"conversation-detail"},{"title":"API file structure","id":"api-file-structure"},{"title":"Main files","id":"main-files"},{"title":"configs.ts","id":"configs-ts"},{"title":"controller.ts","id":"controller-ts"},{"title":"messageBroker.ts","id":"message-broker-ts"},{"title":"GraphQL development","id":"graph-ql-development"},{"title":"GraphQL resolvers","id":"graph-ql-resolvers"},{"title":"GraphQL typeDefs","id":"graph-ql-type-defs"},{"title":"Database development","id":"database-development"},{"title":"Mongoose schema and model","id":"mongoose-schema-and-model"},{"title":"UI file structure","id":"ui-file-structure"},{"title":"Running port for plugin","id":"running-port-for-plugin"},{"title":"Enabling plugins","id":"enabling-plugins"}],"/groups/products/exm":[{"title":"Employee Experience Management","id":"employee-experience-management"},{"title":"Centralized complete HR database","id":"centralized-complete-hr-database"},{"title":"Knowledge, onboarding & training campaign","id":"knowledge-onboarding-and-training-campaign"},{"title":"Automatically generated HR templates","id":"automatically-generated-hr-templates"},{"title":"Fully customizable recruitment pipeline","id":"fully-customizable-recruitment-pipeline"},{"title":"The next generation of time-tracking system","id":"the-next-generation-of-time-tracking-system"},{"title":"Clear view of employee productivity","id":"clear-view-of-employee-productivity"},{"title":"Employee feed & Communication","id":"employee-feed-and-communication"},{"title":"Quick and efficient asset record","id":"quick-and-efficient-asset-record"}],"/groups/products/script":[{"title":"Script Installation","id":"script-installation"}],"/quickstart/groups/mac":[{"title":"If your browser don't automatically jump to localhost:3000, you should check logs by using these commands.","id":"if-your-browser-dont-automatically-jump-to-localhost-3000-you-should-check-logs-by-using-these-commands"},{"title":"If you see this screen, you have successfully install erxes XOS. Congratulations πŸŽ‰πŸŽ‰πŸŽ‰","id":"if-you-see-this-screen-you-have-successfully-install-erxes-xos-congratulations"}],"/quickstart/groups/ubuntu":[{"title":"Installing dependencies using docker","id":"installing-dependencies-using-docker"},{"title":"If your browser don't automatically jump to localhost:3000, you should check logs by using these commands.","id":"if-your-browser-dont-automatically-jump-to-localhost-3000-you-should-check-logs-by-using-these-commands"},{"title":"If you see this screen, you have successfully install erxes XOS. Congratulations πŸŽ‰πŸŽ‰πŸŽ‰","id":"if-you-see-this-screen-you-have-successfully-install-erxes-xos-congratulations"}],"/quickstart/deployment/deploymentDocker":[{"title":"Create an erxes user on the instance","id":"create-an-erxes-user-on-the-instance"},{"title":"Installation steps","id":"installation-steps"}],"/quickstart/deployment/deploymentDockerCompose":[{"title":"Perquisite","id":"perquisite"},{"title":"Summarize of the progress","id":"summarize-of-the-progress"}],"/messages/skills":[{"title":"To set up Skills","id":"to-set-up-skills"}],"/requirement/customer/frontline":[],"/authentication/reference/api":[{"title":"Common functions","id":"common-functions"}],"/messages/team":[{"title":"With Inbox, you can do...","id":"with-inbox-you-can-do"},{"title":"Features works with Inbox","id":"features-works-with-inbox"}],"/requirement/customer/finance":[],"/requirement/customer/marketing":[],"/requirement/employee/attendance":[],"/requirement/employee/learning":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/employee/engagement":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/employee/database":[],"/requirement/customer/sales":[],"/requirement/employee/structure":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/employee/user":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/authentication/reference/ui/animated":[{"title":"Height and width","id":"height-and-width"},{"title":"Color","id":"color"},{"title":"Round","id":"round"},{"title":"Box","id":"box"},{"title":"With image","id":"with-image"},{"title":"API","id":"api"}],"/authentication/reference/ui/avatar":[{"title":"Default avatar","id":"default-avatar"},{"title":"Avatar","id":"avatar"},{"title":"API","id":"api"}],"/authentication/reference/ui/box":[{"title":"Title","id":"title"},{"title":"State","id":"state"},{"title":"Collapsible","id":"collapsible"},{"title":"Extra buttons","id":"extra-buttons"},{"title":"API","id":"api"}],"/authentication/reference/ui/buttons":[{"title":"Examples","id":"examples"},{"title":"API","id":"api"}],"/authentication/reference/ui/breadcrumb":[{"title":"Example","id":"example"},{"title":"API","id":"api"}],"/authentication/reference/ui/chip":[{"title":"Examples","id":"examples"},{"title":"Capitalized","id":"capitalized"},{"title":"Front Content","id":"front-content"},{"title":"API","id":"api"}],"/authentication/reference/ui/collapse":[{"title":"Simple","id":"simple"},{"title":"Description","id":"description"},{"title":"Image","id":"image"},{"title":"Image background color","id":"image-background-color"},{"title":"Before title","id":"before-title"},{"title":"ContendId","id":"contend-id"},{"title":"Compact","id":"compact"},{"title":"Open","id":"open"},{"title":"** API**","id":"api"}],"/authentication/reference/ui/divider":[{"title":"Example","id":"example"},{"title":"API","id":"api"}],"/authentication/reference/ui/econtent":[{"title":"Steps","id":"steps"},{"title":"Button","id":"button"},{"title":"Button text","id":"button-text"},{"title":"isOutside","id":"is-outside"},{"title":"Icon","id":"icon"},{"title":"Title","id":"title"},{"title":"Url","id":"url"},{"title":"Vertical","id":"vertical"},{"title":"Max width","id":"max-width"},{"title":"API","id":"api"}],"/authentication/reference/ui/error":[{"title":"Example","id":"example"},{"title":"API","id":"api"}],"/authentication/reference/ui/estate":[{"title":"Light","id":"light"},{"title":"Icon size","id":"icon-size"},{"title":"Image","id":"image"},{"title":"Extra","id":"extra"},{"title":"API","id":"api"}],"/authentication/reference/ui/file":[{"title":"Default file preview","id":"default-file-preview"},{"title":"File preview","id":"file-preview"},{"title":"Picture and Video preview","id":"picture-and-video-preview"},{"title":"API","id":"api"}],"/authentication/reference/ui/filter":[{"title":"Example","id":"example"},{"title":"Empty","id":"empty"},{"title":"Loading","id":"loading"},{"title":"Count","id":"count"},{"title":"Multiple","id":"multiple"},{"title":"Searchable","id":"searchable"},{"title":"Icon","id":"icon"},{"title":"Color","id":"color"},{"title":"Tree view","id":"tree-view"},{"title":"Related","id":"related"},{"title":"API","id":"api"}],"/authentication/reference/ui/filterable":[{"title":"Example","id":"example"},{"title":"Blank filterable list","id":"blank-filterable-list"},{"title":"Loading","id":"loading"},{"title":"Custom style","id":"custom-style"},{"title":"Avatar","id":"avatar"},{"title":"Additional icon","id":"additional-icon"},{"title":"Links","id":"links"},{"title":"Show Checkmark","id":"show-checkmark"},{"title":"Tree view","id":"tree-view"},{"title":"API","id":"api"}],"/authentication/reference/ui/attachment":[{"title":"Example","id":"example"},{"title":"Size","id":"size"},{"title":"Additional item","id":"additional-item"},{"title":"Image","id":"image"},{"title":"Video","id":"video"},{"title":"Audio","id":"audio"},{"title":"Multiple attachments","id":"multiple-attachments"},{"title":"Index","id":"index"},{"title":"API","id":"api"}],"/requirement/employee/reports":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/authentication/reference/ui/help":[{"title":"API","id":"api"}],"/authentication/reference/ui/icon":[{"title":"Color","id":"color"},{"title":"Size","id":"size"},{"title":"Active","id":"active"},{"title":"API","id":"api"}],"/authentication/reference/ui/info":[{"title":"Examples","id":"examples"},{"title":"Icon","id":"icon"},{"title":"API","id":"api"}],"/authentication/reference/ui/label":[{"title":"Style","id":"style"},{"title":"Color","id":"color"},{"title":"API","id":"api"}],"/authentication/reference/ui/modifiable":[{"title":"Options","id":"options"},{"title":"Add button label","id":"add-button-label"},{"title":"API","id":"api"}],"/authentication/reference/ui/namecard":[{"title":"Username","id":"username"},{"title":"Full name","id":"full-name"},{"title":"Avatar size","id":"avatar-size"},{"title":"User E-mail","id":"user-e-mail"},{"title":"Single Line","id":"single-line"},{"title":"Second line","id":"second-line"},{"title":"API","id":"api"}],"/authentication/reference/ui/progress":[{"title":"Percentage","id":"percentage"},{"title":"Color","id":"color"},{"title":"Height","id":"height"},{"title":"**Close","id":"close"},{"title":"API","id":"api"}],"/authentication/reference/ui/spinner":[{"title":"Examples","id":"examples"},{"title":"Position","id":"position"},{"title":"Objective","id":"objective"},{"title":"API","id":"api"}],"/authentication/reference/ui/sort":[{"title":"Label","id":"label"},{"title":"Field","id":"field"},{"title":"API","id":"api"}],"/authentication/reference/ui/steps":[{"title":"Example","id":"example"},{"title":"Active","id":"active"},{"title":"Step","id":"step"},{"title":"Title","id":"title"},{"title":"No button","id":"no-button"},{"title":"API","id":"api"},{"title":"Step","id":"step-2"}],"/authentication/reference/ui/table":[{"title":"Bordered","id":"bordered"},{"title":"Striped","id":"striped"},{"title":"Table hover","id":"table-hover"},{"title":"White-space","id":"white-space"},{"title":"API","id":"api"}],"/authentication/reference/ui/tabs":[{"title":"Dynamic tabbed interfaces.","id":"dynamic-tabbed-interfaces"},{"title":"Example","id":"example"},{"title":"Full","id":"full"},{"title":"Border","id":"border"},{"title":"API","id":"api"},{"title":"TabTitle","id":"tab-title"}],"/authentication/reference/ui/tags":[{"title":"Color","id":"color"},{"title":"Limit","id":"limit"},{"title":"API","id":"api"}],"/authentication/reference/ui/text":[{"title":"Types","id":"types"},{"title":"Size","id":"size"},{"title":"API","id":"api"}],"/authentication/reference/ui/timer":[{"title":"Completed time tracking","id":"completed-time-tracking"},{"title":"Started time tracking","id":"started-time-tracking"},{"title":"Paused time tracking","id":"paused-time-tracking"},{"title":"Stopped time tracking","id":"stopped-time-tracking"},{"title":"API","id":"api"}],"/authentication/reference/ui/sub":[{"title":"Example","id":"example"},{"title":"Additional item","id":"additional-item"},{"title":"API","id":"api"}],"/authentication/reference/ui/tip":[{"title":"Tip text","id":"tip-text"},{"title":"Placement","id":"placement"},{"title":"API","id":"api"}],"/authentication/reference/ui/uploader":[{"title":"Multiple","id":"multiple"},{"title":"Limit","id":"limit"},{"title":"Single","id":"single"},{"title":"Default files","id":"default-files"},{"title":"API","id":"api"}],"/authentication/reference/ui/toggle":[{"title":"Example","id":"example"},{"title":"Icons","id":"icons"},{"title":"Checked","id":"checked"},{"title":"Always checked","id":"always-checked"},{"title":"Disabled toggle switch","id":"disabled-toggle-switch"},{"title":"API","id":"api"}],"/requirement/customer/frontline/chatbot":[],"/authentication/reference/ui/data":[{"title":"Loading","id":"loading"},{"title":"Count","id":"count"},{"title":"Empty content","id":"empty-content"},{"title":"Empty state","id":"empty-state"},{"title":"Image","id":"image"},{"title":"API","id":"api"}],"/authentication/reference/ui/header":[{"title":"Example","id":"example"},{"title":"API","id":"api"}],"/requirement/customer/finance/leasing":[],"/requirement/customer/finance/payment":[],"/requirement/customer/frontline/callcenter":[],"/requirement/customer/marketing/newsletter":[],"/requirement/customer/marketing/survey":[],"/requirement/customer/finance/rental":[],"/requirement/customer/sales/catering":[],"/requirement/customer/sales/b2bs":[],"/requirement/customer/sales/order":[],"/requirement/customer/sales/ecommerce":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/schedule":[],"/requirement/customer/sales/ecommerce/customer":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/ecommerce/order":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/ecommerce/product":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/ecommerce/payment":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/ecommerce/shopping":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/ecommerce/promotions":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/coffeeshop":[],"/requirement/customer/sales/pos/erkhet":[],"/requirement/customer/frontline/ticket":[],"/requirement/customer/sales/pos/management":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/ecommerce/user":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/inventory":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/menu":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/payment":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/processing":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/retail":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/sales/pos/restaurant":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}],"/requirement/customer/frontline/help":[],"/requirement/customer/sales/pos/reporting":[{"title":"Architecture","id":"architecture"},{"title":"Frequently Asked Questions","id":"faq"}]},"children":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":[["$","div",null,{"className":"absolute inset-0 -z-10 mx-0 max-w-none overflow-hidden","children":["$","div",null,{"className":"absolute left-1/2 top-0 ml-[-38rem] h-[25rem] w-[81.25rem] dark:[mask-image:linear-gradient(white,transparent)]","children":[["$","div",null,{"className":"absolute inset-0 bg-gradient-to-r from-[#4c1d95] to-[#c7d2fe] opacity-40 [mask-image:radial-gradient(farthest-side_at_top,gray,transparent)] dark:from-[#4c1d95]/30 dark:to-[#c7d2fe]/30 dark:opacity-100","children":["$","svg",null,{"aria-hidden":"true","className":"absolute inset-x-0 inset-y-[-50%] h-[200%] w-full skew-y-[-18deg] fill-black/40 stroke-black/50 mix-blend-overlay dark:fill-white/2.5 dark:stroke-white/5","children":[["$","defs",null,{"children":["$","pattern",null,{"id":":S1:","width":72,"height":56,"patternUnits":"userSpaceOnUse","x":-12,"y":4,"children":["$","path",null,{"d":"M.5 56V.5H72","fill":"none"}]}]}],["$","rect",null,{"width":"100%","height":"100%","strokeWidth":0,"fill":"url(#:S1:)"}],["$","svg",null,{"x":-12,"y":4,"className":"overflow-visible","children":[["$","rect","4-3",{"strokeWidth":"0","width":73,"height":57,"x":288,"y":168}],["$","rect","2-1",{"strokeWidth":"0","width":73,"height":57,"x":144,"y":56}],["$","rect","7-3",{"strokeWidth":"0","width":73,"height":57,"x":504,"y":168}],["$","rect","10-6",{"strokeWidth":"0","width":73,"height":57,"x":720,"y":336}]]}]]}]}],["$","svg",null,{"viewBox":"0 0 1113 440","aria-hidden":"true","className":"absolute left-1/2 top-0 ml-[-19rem] w-[69.5625rem] fill-white blur-[26px] dark:hidden","children":["$","path",null,{"d":"M.016 439.5s-9.5-300 434-300S882.516 20 882.516 20V0h230.004v439.5H.016Z"}]}]]}]}],["$","div",null,{"className":"mx-auto flex h-full max-w-xl flex-col items-center justify-center py-16 text-center","children":[["$","p",null,{"className":"text-sm font-semibold text-zinc-900 dark:text-white","children":"404"}],["$","h1",null,{"className":"mt-2 text-2xl font-bold text-zinc-900 dark:text-white","children":"Page not found"}],["$","p",null,{"className":"mt-2 text-base text-zinc-600 dark:text-zinc-400","children":"Sorry, we couldn’t find the page you’re looking for."}],["$","$L9",null,{"className":"inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition rounded-full bg-zinc-900 py-1 px-3 text-white hover:bg-zinc-700 dark:bg-violet-400/10 dark:text-violet-400 dark:ring-1 dark:ring-inset dark:ring-violet-400/20 dark:hover:bg-violet-400/10 dark:hover:text-violet-300 dark:hover:ring-violet-300 mt-8","href":"/","children":[false,"Back to docs",["$","svg",null,{"viewBox":"0 0 20 20","fill":"none","aria-hidden":"true","className":"mt-0.5 h-5 w-5 -mr-1","children":["$","path",null,{"stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round","d":"m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"}]}]]}]]}]],"notFoundStyles":[],"childProp":{"current":["$","$L7",null,{"parallelRouterKey":"children","segmentPath":["children","quickstart","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L8",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$La",["$","article",null,{"className":"flex h-full flex-col pb-10 pt-16","children":[["$","div",null,{"className":"flex-auto prose dark:prose-invert [html_:where(&>*)]:mx-auto [html_:where(&>*)]:max-w-2xl [html_:where(&>*)]:lg:mx-[calc(50%-min(50%,theme(maxWidth.lg)))] [html_:where(&>*)]:lg:max-w-3xl","children":[["$","div",null,{"className":"absolute inset-0 -z-10 mx-0 max-w-none overflow-hidden","children":["$","div",null,{"className":"absolute left-1/2 top-0 ml-[-38rem] h-[25rem] w-[81.25rem] dark:[mask-image:linear-gradient(white,transparent)]","children":[["$","div",null,{"className":"absolute inset-0 bg-gradient-to-r from-[#4c1d95] to-[#c7d2fe] opacity-40 [mask-image:radial-gradient(farthest-side_at_top,gray,transparent)] dark:from-[#4c1d95]/30 dark:to-[#c7d2fe]/30 dark:opacity-100","children":["$","svg",null,{"aria-hidden":"true","className":"absolute inset-x-0 inset-y-[-50%] h-[200%] w-full skew-y-[-18deg] fill-black/40 stroke-black/50 mix-blend-overlay dark:fill-white/2.5 dark:stroke-white/5","children":[["$","defs",null,{"children":["$","pattern",null,{"id":":S2:","width":72,"height":56,"patternUnits":"userSpaceOnUse","x":-12,"y":4,"children":["$","path",null,{"d":"M.5 56V.5H72","fill":"none"}]}]}],["$","rect",null,{"width":"100%","height":"100%","strokeWidth":0,"fill":"url(#:S2:)"}],["$","svg",null,{"x":-12,"y":4,"className":"overflow-visible","children":[["$","rect","4-3",{"strokeWidth":"0","width":73,"height":57,"x":288,"y":168}],["$","rect","2-1",{"strokeWidth":"0","width":73,"height":57,"x":144,"y":56}],["$","rect","7-3",{"strokeWidth":"0","width":73,"height":57,"x":504,"y":168}],["$","rect","10-6",{"strokeWidth":"0","width":73,"height":57,"x":720,"y":336}]]}]]}]}],["$","svg",null,{"viewBox":"0 0 1113 440","aria-hidden":"true","className":"absolute left-1/2 top-0 ml-[-19rem] w-[69.5625rem] fill-white blur-[26px] dark:hidden","children":["$","path",null,{"d":"M.016 439.5s-9.5-300 434-300S882.516 20 882.516 20V0h230.004v439.5H.016Z"}]}]]}]}],"\n",["$","h1",null,{"children":"Setup & Deployment"}],"\n",["$","hr",null,{}],"\n",["$","$Lb",null,{"level":2,"id":"local-installation","children":"Local installation"}],"\n",["$","p",null,{"children":["The following documentation will guide you through the installation of an erxes project using ",["$","$L9",null,{"href":"https://www.docker.com/","children":"Docker"}],"."]}],"\n",["$","p",null,{"children":"Docker is an open platform that allows to develop, ship and run applications by using containers (i.e. packages containing all the parts an application needs to function, such as libraries and dependencies)."}],"\n",["$","h1",null,{"children":"Preparing the installation"}],"\n",["$","p",null,{"children":"erxes installation requires at least four software prerequisites to be already installed on your machine:"}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-amber-500 bg-amber-100 p-4 leading-6 text-amber-950 dark:border-amber-500 dark:bg-amber-200 dark:text-amber-950 dark:[--tw-prose-links-hover:theme(colors.amber.300)] dark:[--tw-prose-links:theme(colors.amber)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-amber-500 dark:text-amber-500","children":"βœ‹ Caution"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Erxes code takes approximately 12GB storage space, make sure you have enough space in your device before going forward."}]}]]}],"\n",["$","p",null,{"children":["$","strong",null,{"children":"Prerequisites"}]}],"\n",["$","$Lc",null,{"children":[["$","$Ld",null,{"label":"Ubuntu","children":["$","ul",null,{"children":["\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://github.com/git-guides/install-git","children":"Git"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://nodejs.org/en","children":"Node.js:"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," only LTS versions are supported v18.17.1 or higher. Other versions of Node.js may not be compatible with the latest release of erxes. The 18.17.x version is most recommended by erxes. The easier way to install ",["$","$L9",null,{"href":"https://github.com/nvm-sh/nvm#installing-and-updating","children":"nvm"}]," is here."]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://docs.npmjs.com/cli/v6/commands/npm-install/","children":"npm"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," and ",["$","$L9",null,{"href":"https://classic.yarnpkg.com/lang/en/docs/install/#debian-stable","children":"yarn"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," (latest version) to run the erxes."]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04","children":"Docker"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," Latest version."]}],"\n"]}]}],["$","$Ld",null,{"label":"MacOS","children":["$","ul",null,{"children":["\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://github.com/git-guides/install-git","children":"Git"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://nodejs.org/en","children":"Node.js:"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," only LTS versions are supported v18.17.1 or higher. Other versions of Node.js may not be compatible with the latest release of erxes. The 18.17.x version is most recommended by erxes. The easier way to install ",["$","$L9",null,{"href":"https://github.com/nvm-sh/nvm#installing-and-updating","children":"nvm"}]," is here."]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://docs.npmjs.com/cli/v6/commands/npm-install/","children":"npm"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," and ",["$","$L9",null,{"href":"https://classic.yarnpkg.com/lang/en/docs/install/#debian-stable","children":"yarn"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," (latest version) to run the erxes."]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04","children":"Docker"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," Latest version."]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://brew.sh/","children":"Homebrew"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," latest version"]}],"\n",["$","li",null,{"children":[["$","$L9",null,{"href":"https://www.freecodecamp.org/news/install-xcode-command-line-tools/","children":"Xcode"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," latest version"]}],"\n"]}]}]]}],"\n",["$","p",null,{"children":["$","strong",null,{"children":"Installing erxes"}]}],"\n",["$","ol",null,{"children":["\n",["$","li",null,{"children":"Create an empty folder."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"mkdir example\n","children":["$","$Lf",null,{"className":"language-tsx","children":"mkdir example\n"}]}],"\n",["$","ol",null,{"start":"2","children":["\n",["$","li",null,{"children":"Navigate to your newly created folder where the new erxes project will be set up. This directory will define the database and erxes plugins to use."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"cd example\n","children":["$","$Lf",null,{"className":"language-tsx","children":"cd example\n"}]}],"\n",["$","ol",null,{"start":"3","children":["\n",["$","li",null,{"children":"Run the following command in the folder."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"git clone https://github.com/erxes/erxes.git\n","children":["$","$Lf",null,{"className":"language-tsx","children":"git clone https://github.com/erxes/erxes.git\n"}]}],"\n",["$","p",null,{"children":["$","strong",null,{"children":"Installing dependencies using docker"}]}],"\n",["$","ol",null,{"start":"4","children":["\n",["$","li",null,{"children":"In the folder, create a dock directory using the following command."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"mkdir dock\n","children":["$","$Lf",null,{"className":"language-tsx","children":"mkdir dock\n"}]}],"\n",["$","ol",null,{"start":"5","children":["\n",["$","li",null,{"children":"Go to the dock folder using the following command."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"cd dock\n","children":["$","$Lf",null,{"className":"language-tsx","children":"cd dock\n"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Run sudo nano or sudo vim command to create the .yml file."}]}]]}],"\n",["$","ol",null,{"start":"6","children":["\n",["$","li",null,{"children":["Create a ",["$","$Lf",null,{"children":"docker-compose.yml"}]," file, then copy the following script into the newly created file."]}],"\n"]}],"\n",["$","$Lc",null,{"children":[["$","$Ld",null,{"label":"Ubuntu","children":["$","$Le",null,{"language":"tsx","code":"$10","children":["$","$Lf",null,{"className":"language-tsx","children":"$11"}]}]}],["$","$Ld",null,{"label":"MacOS","children":["$","$Le",null,{"language":"tsx","code":"$12","children":["$","$Lf",null,{"className":"language-tsx","children":"$13"}]}]}]]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-indigo-500 bg-indigo-100 p-4 leading-6 text-indigo-950 dark:border-violet-500/30 dark:bg-violet-500/5 dark:text-violet-200 dark:[--tw-prose-links-hover:theme(colors.violet.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-indigo-500 dark:text-violet-200","children":"πŸ’‘ Tip"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["Please find the useful ",["$","$L9",null,{"href":"https://docs.docker.com/engine/reference/commandline/compose_images/#related-commands","children":"commands"}],["$","script",null,{"src":"https://cdn.jsdelivr.net/gh/eddymens/markdown-external-link-script@v2.0.0/main.min.js"}]," when you're working on Docker"]}]}]]}],"\n",["$","ol",null,{"start":"7","children":["\n",["$","li",null,{"children":"In the folder where the above file is located, run the following command:"}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"sudo docker-compose up -d\n","children":["$","$Lf",null,{"className":"language-tsx","children":"sudo docker-compose up -d\n"}]}],"\n",["$","ol",null,{"start":"8","children":["\n",["$","li",null,{"children":"Go back to the erxes folder using the following command."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"cd ../erxes\n","children":["$","$Lf",null,{"className":"language-tsx","children":"cd ../erxes\n"}]}],"\n",["$","ol",null,{"start":"9","children":["\n",["$","li",null,{"children":"Switch to the dev branch by using the following command."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"git checkout dev\n","children":["$","$Lf",null,{"className":"language-tsx","children":"git checkout dev\n"}]}],"\n",["$","ol",null,{"start":"10","children":["\n",["$","li",null,{"children":"In erxes folder, Install node modules by using the following command."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"yarn install\n","children":["$","$Lf",null,{"className":"language-tsx","children":"yarn install\n"}]}],"\n",["$","ol",null,{"start":"11","children":["\n",["$","li",null,{"children":["Install ",["$","$Lf",null,{"children":"pm2"}]," by using the following command."]}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"sudo npm install -g pm2\n","children":["$","$Lf",null,{"className":"language-tsx","children":"sudo npm install -g pm2\n"}]}],"\n",["$","p",null,{"children":["$","strong",null,{"children":"Running erxes"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-amber-500 bg-amber-100 p-4 leading-6 text-amber-950 dark:border-amber-500 dark:bg-amber-200 dark:text-amber-950 dark:[--tw-prose-links-hover:theme(colors.amber.300)] dark:[--tw-prose-links:theme(colors.amber)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-amber-500 dark:text-amber-500","children":"βœ‹ Caution"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Run erxes in erxes/cli directory"}]}]]}],"\n",["$","ol",null,{"children":["\n",["$","li",null,{"children":"Run the following command to change the folder."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"cd cli\n","children":["$","$Lf",null,{"className":"language-tsx","children":"cd cli\n"}]}],"\n",["$","ol",null,{"start":"2","children":["\n",["$","li",null,{"children":"Install node modules in the erxes/cli directory."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"yarn install\n","children":["$","$Lf",null,{"className":"language-tsx","children":"yarn install\n"}]}],"\n",["$","ol",null,{"start":"3","children":["\n",["$","li",null,{"children":["Copy ",["$","$Lf",null,{"children":"configs.json.sample"}],", then convert it to ",["$","$Lf",null,{"children":"configs.json."}]]}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"cp configs.json.sample configs.json\n","children":["$","$Lf",null,{"className":"language-tsx","children":"cp configs.json.sample configs.json\n"}]}],"\n",["$","ol",null,{"start":"4","children":["\n",["$","li",null,{"children":["Add ",["$","$Lf",null,{"children":"\"ui\": \"local\""}]," under every plugin names like shown in below, in ",["$","$Lf",null,{"children":"configs.json."}]]}],"\n"]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-amber-500 bg-amber-100 p-4 leading-6 text-amber-950 dark:border-amber-500 dark:bg-amber-200 dark:text-amber-950 dark:[--tw-prose-links-hover:theme(colors.amber.300)] dark:[--tw-prose-links:theme(colors.amber)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-amber-500 dark:text-amber-500","children":"βœ‹ Caution"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["You do not have to add it under ",["$","$Lf",null,{"children":"logs"}]," plugin since it has no ui."]}]}]]}],"\n",["$","$Le",null,{"language":"tsx","code":" {\n \"name\": \"inbox\",\n \"ui\": \"local\"\n },\n","children":["$","$Lf",null,{"className":"language-tsx","children":" {\n "name": "inbox",\n "ui": "local"\n },\n"}]}],"\n",["$","ol",null,{"start":"5","children":["\n",["$","li",null,{"children":"Run the following command to start your erxes project."}],"\n"]}],"\n",["$","$Le",null,{"language":"tsx","code":"./bin/erxes.js dev\n","children":["$","$Lf",null,{"className":"language-tsx","children":"./bin/erxes.js dev\n"}]}],"\n",["$","p",null,{"children":["$","strong",null,{"children":"If your browser doesn't automatically jump to localhost:3000, you should check logs by using these commands."}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-indigo-500 bg-indigo-100 p-4 leading-6 text-indigo-950 dark:border-violet-500/30 dark:bg-violet-500/5 dark:text-violet-200 dark:[--tw-prose-links-hover:theme(colors.violet.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-indigo-500 dark:text-violet-200","children":"πŸ’‘ Tip"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":[["$","p",null,{"children":["Frequently used ",["$","$Lf",null,{"children":"pm2"}]," commands on erxes:"]}],["$","ul",null,{"children":["\n",["$","li",null,{"children":"pm2 list - Displays all processes status"}],"\n",["$","li",null,{"children":"pm2 kill - Will remove all processes from pm2 list"}],"\n",["$","li",null,{"children":"pm2 logs -f - Displays all processes logs in streaming (gateway, plugin-name etc.)"}],"\n",["$","li",null,{"children":"pm2 restart all - Restarts all processes"}],"\n"]}]]}]]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"If you see this screen, you have successfully installed erxes XOS. Congratulations πŸŽ‰πŸŽ‰πŸŽ‰"}],"\n",["$","img",null,{"src":"https://imagedelivery.net/5m26Aj-CutMXPPNacMs_yQ/1bee4344-9c4b-4a37-e3f4-6e4b02211000/public","alt":""}]]}],"\n",["$","hr",null,{}],"\n",["$","$Lb",null,{"level":2,"id":"server-installation","children":"Server installation"}],"\n",["$","p",null,{"children":["The following documentation will guide you through the installation of an erxes project using ",["$","$L9",null,{"href":"https://www.docker.com/","children":"Docker"}]," image via Dockerhub that can be used on ",["$","$L9",null,{"href":"https://ubuntu.com/","children":"Ubuntu"}],"/",["$","$L9",null,{"href":"https://www.centos.org/","children":"CentOS"}]," in order to use erxes. This the guideline will be dedicated to anyone who is about to use erxes for their businesses. If you want to customize or develop additional plugins on erxes, please go to ",["$","$L9",null,{"href":"/intro","children":"the developer installation guideline."}]]}],"\n",["$","p",null,{"children":"Docker is an open source platform that allows to develop, ship and run applications by using containers (i.e. packages containing all the parts an application needs to function, such as libraries and dependencies)."}],"\n",["$","h1",null,{"children":"Prerequisites"}],"\n",["$","p",null,{"children":"You will need following things before dive into erxes installation."}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":["any type of server with ",["$","strong",null,{"children":"8 core cpu & atleast 16gb ram"}]]}],"\n",["$","li",null,{"children":"basic knowledges to work on ubuntu/centos operating system such as execute commands in user directory"}],"\n",["$","li",null,{"children":["domain controller's ",["$","strong",null,{"children":"A record"}]," must pointed to the instance you are going to install erxes on"]}],"\n",["$","li",null,{"children":["ability to connect to your instance via ",["$","strong",null,{"children":"ssh"}]," protocol"]}],"\n"]}],"\n",["$","hr",null,{}],"\n",["$","h1",null,{"children":"Installation steps"}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"1."}]," Create ",["$","$Lf",null,{"children":"install.sh"}]," file using text editors such as nano or vim. Then copy the following content into ",["$","$Lf",null,{"children":"install.sh"}],". Following script will install nginx, certbot, docker, docker-compose and nodejs into your server."]}],"\n",["$","$Lc",null,{"children":[["$","$Ld",null,{"label":"Ubuntu","children":["$","$Le",null,{"language":"bash","code":"$14","children":["$","$Lf",null,{"className":"language-bash","children":"$15"}]}]}],["$","$Ld",null,{"label":"CentOS","children":["$","$Le",null,{"language":"bash","code":"$16","children":["$","$Lf",null,{"className":"language-bash","children":"$17"}]}]}]]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"2."}]," Before executing the script use the below command to make the ",["$","$Lf",null,{"children":"install.sh"}]," file executable."]}],"\n",["$","$Le",null,{"language":"bash","code":"sudo chmod +x install.sh\n","children":["$","$Lf",null,{"className":"language-bash","children":"sudo chmod +x install.sh\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"3."}]," Execute ",["$","$Lf",null,{"children":"install.sh"}]," file."]}],"\n",["$","$Le",null,{"language":"bash","code":"./install.sh\n","children":["$","$Lf",null,{"className":"language-bash","children":"./install.sh\n"}]}],"\n","\n",["$","hr",null,{}],"\n",["$","p",null,{"children":["$","strong",null,{"children":"Create an erxes user on the instance"}]}],"\n",["$","p",null,{"children":["Assuming you have connected to your instance and ready to execute following steps. First you need to ",["$","$Lf",null,{"children":"create erxes user"}]," because all erxes related installation scripts are made for an erxes user.\nWhy?\nYou don't want to use ",["$","strong",null,{"children":"root"}]," user to administer your server. So everything will be done by a user called, ",["$","$Lf",null,{"children":"erxes"}],". To accomplish this, run the following command:"]}],"\n",["$","$Le",null,{"language":"bash","code":"adduser erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"adduser erxes\n"}]}],"\n",["$","p",null,{"children":["When prompted, enter ",["$","strong",null,{"children":"unique & strong"}]," password.\n(Finish adding the user simply by pressing the ",["$","$Lf",null,{"children":"enter"}]," or ",["$","$Lf",null,{"children":"return"}]," key through the questions)"]}],"\n",["$","p",null,{"children":["Grant sudo and docker rights to ",["$","$Lf",null,{"children":"erxes"}]," user by following command::"]}],"\n",["$","$Le",null,{"language":"bash","code":"usermod -aG sudo erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"usermod -aG sudo erxes\n"}]}],"\n",["$","$Le",null,{"language":"bash","code":"usermod -aG docker erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"usermod -aG docker erxes\n"}]}],"\n",["$","$Le",null,{"language":"bash","code":"su - erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"su - erxes\n"}]}],"\n",["$","p",null,{"children":"All prerequisites are completed and now you can proceed to the installation steps."}],"\n",["$","h1",null,{"children":"Starting erxes project"}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"1."}]," Below command will trigger the erxes installation process."]}],"\n",["$","$Le",null,{"language":"bash","code":"create-erxes-app erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"create-erxes-app erxes\n"}]}],"\n",["$","p",null,{"children":"After the execution it will ask for your erxes domain name"}],"\n",["$","$Le",null,{"language":"bash","code":"https://example.com\n","children":["$","$Lf",null,{"className":"language-bash","children":"https://example.com\n"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"Please use a full domain or subdomain names including http socket like below"}]}]]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"2."}]," After the above command ",["$","$Lf",null,{"children":"erxes"}]," directory will be created. That includes following files in it ",["$","$Lf",null,{"children":"docker-compose.yml, configs.json, package.json, package-lock.json"}],". In order to change to ",["$","$Lf",null,{"children":"erxes"}]," directory use below command."]}],"\n",["$","$Le",null,{"language":"bash","code":"cd /home/erxes/erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"cd /home/erxes/erxes\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"3."}]," Change erxes package version of ",["$","$Lf",null,{"children":"/home/erxes/erxes/package.json"}]," file to ",["$","a",null,{"href":"https://www.npmjs.com/package/erxes","target":"_blank","children":"latest"}]," version."]}],"\n",["$","$Le",null,{"language":"bash","code":"{\n \"name\": \"erxes\",\n \"private\": true,\n \"version\": \"0.1.0\",\n \"scripts\": {\n \"erxes\": \"erxes\"\n },\n \"dependencies\": {\n \"amqplib\": \"^0.8.0\",\n \"create-erxes-app\": \"0.0.28\",\n \"dup\": \"^1.0.0\",\n #Change here\n \"erxes\": \"change me\",\n \"ip\": \"^1.1.5\",\n \"up\": \"^1.0.2\"\n }\n}\n","children":["$","$Lf",null,{"className":"language-bash","children":"$18"}]}],"\n",["$","p",null,{"children":"If the erxes version has been changed in the package.json file, run the command below to install the necessary modules for erxes."}],"\n",["$","$Le",null,{"language":"bash","code":"npm install\n","children":["$","$Lf",null,{"className":"language-bash","children":"npm install\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"4."}]," Now you need to initiate docker swarm mode in order to do that use following command."]}],"\n",["$","$Le",null,{"language":"bash","code":"docker swarm init\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker swarm init\n"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["If you get a permission denied warning when you run this command, you haven't run the ",["$","$Lf",null,{"children":"usermod -aG docker erxes"}]," command."]}]}]]}],"\n",["$","$Le",null,{"language":"bash","code":"docker network create --driver=overlay --attachable erxes\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker network create --driver=overlay --attachable erxes\n"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["In erxes directory we have docker-compose.yml file even with that we do not use ",["$","$Lf",null,{"children":"docker-compose up, docker-compose down, docker-compose restart"}]," commands further"]}]}]]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"5."}]," Before starting the application services we need to start the databases. The following command will start database services."]}],"\n",["$","$Le",null,{"language":"bash","code":"openssl rand -base64 756 > mongo-key\nsudo chmod 400 mongo-key && sudo chown 999:999 mongo-key\nopenssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem --batch\ncat key.pem certificate.pem > mongo.pem\n","children":["$","$Lf",null,{"className":"language-bash","children":"openssl rand -base64 756 > mongo-key\nsudo chmod 400 mongo-key && sudo chown 999:999 mongo-key\nopenssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem --batch\ncat key.pem certificate.pem > mongo.pem\n"}]}],"\n",["$","h1",null,{"children":"Running elasticsearch"}],"\n",["$","p",null,{"children":"If your server is bigger than our required size you can use erxes with elasticsearch. To do that the following steps need to be taken."}],"\n",["$","p",null,{"children":"Add the following lines to configs.json, positions do not matter."}],"\n",["$","$Le",null,{"language":"bash","code":"\"essyncer\": {},\n\"elasticsearch\" : {},\n","children":["$","$Lf",null,{"className":"language-bash","children":""essyncer": {},\n"elasticsearch" : {},\n"}]}],"\n",["$","p",null,{"children":"Then run and deploy dbs with following command."}],"\n",["$","$Le",null,{"language":"bash","code":"npm run erxes deploy-dbs\n","children":["$","$Lf",null,{"className":"language-bash","children":"npm run erxes deploy-dbs\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"6."}]," To check database services up use following command it will shows you all the running docker services id, name and state etc."]}],"\n",["$","$Le",null,{"language":"bash","code":"docker ps -a | grep mongo\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker ps -a | grep mongo\n"}]}],"\n",["$","p",null,{"children":"wait until all services' state become up."}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"7."}]," Now we need to make our mongo have a replica set. First we need to enter the mongo container then enter the mongo instance then execute the 3 following commands."]}],"\n",["$","$Le",null,{"language":"bash","code":"docker exec -it bash\nmongo -u erxes -p \nrs.initiate();\n","children":["$","$Lf",null,{"className":"language-bash","children":"$19"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["You may want to hit ",["$","$Lf",null,{"children":"return or enter"}]," button a few times, if we have done it correctly mongo shell will changes into ",["$","$Lf",null,{"children":"\"RS0: primary\""}]]}]}]]}],"\n",["$","p",null,{"children":["To quit mongo instance and container ",["$","$Lf",null,{"children":"run exit command"}]," twice."]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"8."}]," Now we need to create ",["$","$Lf",null,{"children":"locales"}]," directory in our working directory ",["$","$Lf",null,{"children":"/home/erxes/erxes"}]," to do that use the following command."]}],"\n",["$","$Le",null,{"language":"bash","code":"mkdir locales\n","children":["$","$Lf",null,{"className":"language-bash","children":"mkdir locales\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"9."}]," Change erxes version of ",["$","$Lf",null,{"children":"/home/erxes/erxes/configs.json"}]," file to ",["$","a",null,{"href":"https://hub.docker.com/u/erxes","target":"_blank","children":"latest"}]," version. It is the latest version that has undergone further development."]}],"\n",["$","p",null,{"children":"To start the application services like erxes core uis and gateway services we need to run the following command."}],"\n",["$","$Le",null,{"language":"bash","code":"npm run erxes up -- --uis\n","children":["$","$Lf",null,{"className":"language-bash","children":"npm run erxes up -- --uis\n"}]}],"\n",["$","p",null,{"children":"After this step the ui will be downloaded from AWS:s3 so make sure your server can communicate AWS instances without a problem."}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":[["$","p",null,{"children":"Containers are generated one by one, so wait until they finish reading. Meanwhile check for the status using"}],["$","$Le",null,{"language":"bash","code":"docker ps -a\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker ps -a\n"}]}],["$","p",null,{"children":"To check docker services use"}],["$","$Le",null,{"language":"bash","code":"docker service ls\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker service ls\n"}]}],["$","p",null,{"children":"all erxes services needs to be up state\nWait until the gateway container status becomes healthy. Additionally, ensure that the gateway container is the last one to start."}]]}]]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"10."}]," Now we need to configure our web server, we need to configure our nginx first. To do this, we create an nginx config file named ",["$","$Lf",null,{"children":"erxes.conf"}]," in ",["$","$Lf",null,{"children":"/etc/nginx/sites-enabled"}],". To do this, use the following command."]}],"\n",["$","$Le",null,{"language":"bash","code":"sudo nano /etc/nginx/sites-enabled/erxes.conf\n","children":["$","$Lf",null,{"className":"language-bash","children":"sudo nano /etc/nginx/sites-enabled/erxes.conf\n"}]}],"\n",["$","p",null,{"children":"Copy the nginx configuration below"}],"\n",["$","$Le",null,{"language":"bash","code":"$1a","children":["$","$Lf",null,{"className":"language-bash","children":"$1b"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"11."}]," After that we need to test the nginx config. To do that use following command."]}],"\n",["$","$Le",null,{"language":"bash","code":"sudo nginx -t\n","children":["$","$Lf",null,{"className":"language-bash","children":"sudo nginx -t\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"12."}]," If nginx test shows successful message we need to restart Nginx. To do that use the following command."]}],"\n",["$","$Le",null,{"language":"bash","code":"sudo service nginx restart\n","children":["$","$Lf",null,{"className":"language-bash","children":"sudo service nginx restart\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"13."}]," Erxes only works in secure connection to generate free ssl certificate we use ",["$","$Lf",null,{"children":"Certbot"}],". To configure that use the following command."]}],"\n",["$","$Le",null,{"language":"bash","code":"sudo certbot --nginx\n","children":["$","$Lf",null,{"className":"language-bash","children":"sudo certbot --nginx\n"}]}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"you have to point your domain's A record to your erxes host machine in order to get certificate without that certbot will not generate certificate order."}]}]]}],"\n",["$","p",null,{"children":"After entering this command, provide your email and subscription information, and accept the terms. Following that, you will be prompted about the 'redirect' option. We highly recommend enabling this option for security reasons. Once these steps are completed, open your browser and enjoy our product."}],"\n",["$","h1",null,{"children":"Adding new plugins to erxes"}],"\n",["$","p",null,{"children":["Adding new plugins to erxes is an easy task, all you need to do is add a plugin name under ",["$","$Lf",null,{"children":"\"plugins:\"[{}]"}]," in ",["$","$Lf",null,{"children":"/home/erxes/erxes/configs.json"}]," file then run ",["$","$Lf",null,{"children":"npm run erxes up -- --uis"}]," command. But for some plugins like dashboard, it require some ",["$","$Lf",null,{"children":"extra"}]," service we will discuss that in another section. Below we have the ",["$","$Lf",null,{"children":"ideal"}]," configs.json file content that includes every ",["$","$Lf",null,{"children":"nessacery configuration lines"}]," for ",["$","$Lf",null,{"children":"all plugins"}],". Please read the following contents carefully some lines may need a ",["$","$Lf",null,{"children":"replacement"}],"."]}],"\n",["$","$Le",null,{"language":"bash","code":"$1c","children":["$","$Lf",null,{"className":"language-bash","children":"$1d"}]}],"\n",["$","hr",null,{}],"\n","\n",["$","hr",null,{}],"\n",["$","h1",null,{"children":"Removing erxes"}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"1."}]," First, it is unfortunate, but every server needs to be kept tidy. The following commands will help remove the Docker stack and any dangling containers in the swarm."]}],"\n",["$","$Le",null,{"language":"bash","code":"docker stack ls\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker stack ls\n"}]}],"\n",["$","p",null,{"children":"will show you stack informations. To leave that use the following command."}],"\n",["$","$Le",null,{"language":"bash","code":"docker stack rm erxes\ndocker stack rm erxes-dbs\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker stack rm erxes\ndocker stack rm erxes-dbs\n"}]}],"\n",["$","p",null,{"children":[["$","strong",null,{"children":"2."}]," To remove all dangling containers use the following commands."]}],"\n",["$","p",null,{"children":"List and remove all dangling images."}],"\n",["$","$Le",null,{"language":"bash","code":"docker images -f dangling=true\ndocker rmi $(docker images -q -f dangling=true)\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker images -f dangling=true\ndocker rmi $(docker images -q -f dangling=true)\n"}]}],"\n",["$","p",null,{"children":"List and remove all dangling containers."}],"\n",["$","$Le",null,{"language":"bash","code":"docker ps -a -f status=exited\ndocker rm $(docker ps -a -q -f status=exited)\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker ps -a -f status=exited\ndocker rm $(docker ps -a -q -f status=exited)\n"}]}],"\n",["$","p",null,{"children":"List and remove all dangling volumes"}],"\n",["$","div",null,{"className":"text-base my-3 flex flex-col border-l-4 border-emerald-500 bg-emerald-100 p-4 leading-6 text-emerald-950 dark:border-emerald-500/30 dark:bg-emerald-500/5 dark:text-emerald-200 dark:[--tw-prose-links-hover:theme(colors.emerald.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","p",null,{"className":"text-lg p-0 mt-0 mb-2 font-bold text-emerald-500 dark:text-emerald-200","children":"✏️ Note"}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":"volumes might have data in it so do it with your responsibility"}]}]]}],"\n",["$","$Le",null,{"language":"bash","code":"docker volume ls -f dangling=true\ndocker volume rm $(docker volume ls -q -f dangling=true)\n","children":["$","$Lf",null,{"className":"language-bash","children":"docker volume ls -f dangling=true\ndocker volume rm $(docker volume ls -q -f dangling=true)\n"}]}],"\n",["$","hr",null,{}],"\n",["$","h1",null,{"children":"Installation video"}],"\n",["$","iframe",null,{"width":"560","height":"315","src":"https://www.youtube.com/embed/PZ87Xmig7nE?si=KoDbjTolWAivYFyX","title":"installation video","frameborder":"0","allow":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen":true}],"\n",["$","hr",null,{}],"\n",["$","h1",null,{"children":"Joining erxes community"}],"\n",["$","p",null,{"children":["Join the erxes community today! If you encounter any difficulties during the installation process, don't hesitate to reach out for assistance. You can create issues on our ",["$","$L9",null,{"href":"https://github.com/erxes/erxes","children":"Github"}]," repository or seek help from our friendly community on ",["$","$L9",null,{"href":"https://discord.com/invite/rPf9FYaA3F","children":"Discord"}],". We're here to support you every step of the way!"]}]]}],["$","footer",null,{"className":"mx-auto mt-16 w-full max-w-2xl lg:max-w-5xl","children":["$","$L1e",null,{}]}]]}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"quickstart"},"styles":[]}]}]}]}]}]}] a:null