Menu

Tree [53273e] master /
 History

HTTPS access


File Date Author Commit
 applications 2024-09-18 root root [85c799] update
 framework 2024-09-18 root root [587853] update
 hot-deploy 2024-09-18 root root [85c799] update
 hot-deploy-base 2024-09-18 root root [85c799] update
 runtime 2024-09-18 root root [85c799] update
 themes 2024-09-18 root root [85c799] update
 APACHE2_HEADER 2024-09-18 root root [85c799] update
 Dockerfile 2024-09-18 root root [85c799] update
 LICENSE 2024-09-18 root root [85c799] update
 NOTICE 2024-09-18 root root [85c799] update
 OPTIONAL_LIBRARIES 2024-09-18 root root [85c799] update
 README 2024-09-18 root root [53273e] update
 ant 2024-09-18 root root [85c799] update
 ant.bat 2024-09-18 root root [85c799] update
 build.xml 2024-09-18 root root [85c799] update
 build_win.xml 2024-09-18 root root [85c799] update
 common.xml 2024-09-18 root root [85c799] update
 freemiumdemodata.sql 2024-09-18 root root [85c799] update
 ivy.xml 2024-09-18 root root [85c799] update
 macros.xml 2024-09-18 root root [85c799] update
 ofbiz.jar 2024-09-18 root root [85c799] update
 pom.xml 2024-09-18 root root [85c799] update
 rc.ofbiz 2024-09-18 root root [85c799] update
 startofbiz.sh 2024-09-18 root root [85c799] update
 stopofbiz.sh 2024-09-18 root root [85c799] update

Read Me

**Steps to Deploy the Docker container of CRM on Ubuntu System**

**Note:**

Demo data must load first. For that, the MySQL5.7 version must be installed, and later, the database with the below Character set and collation must be imported. The SQL file freemiumdemodata.sql, which is available in the source code, must be imported.
**Create the database in name:** crm_demo_data
**Character set:** utf8
**Collation:** utf8_general_ci

Change the database connection in file entityengine.xml in localmysql connector.

![image](https://github.com/user-attachments/assets/6fb246f4-f9cb-443c-830c-0b92f4bab17b)

**Step 1: Download CRM software from github**

We recommend using git download latest iCRM software. first, make sure you have git client installed on system after that check out the latest build from the GitHub repository.

# apt install git

# git@github.com:aiintelekt/iCRM.git

**Step 2: Install Docker on Ubuntu Linux**

Follow the below commands one by one and install the docker.

# sudo apt-get update

# sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common

# sudo mkdir -p /etc/apt/keyrings

# sudo apt-key fingerprint 0EBFCD88

# sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

# echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# sudo apt-get update

# sudo apt-get install docker-ce docker-ce-cli containerd.io

# sudo docker –version

# systemctl start docker

# systemctl enable docker

**Step 3: Create Docker images**

After completing the docker installation, use following command to create a docker image.

**Note:**  Already repository is cloned as mentioned in step 1, have to switch to that path and execute the below commands.

# cd /path/iCRM/

# docker build -t crm .


**Step 4: Create the docker container.**

Once image is created as mentioned in step 3, now using that image have to create the container. Follow the below commands

# docker run -d -p 80:8080 -p 443:8443 crm

**Step 5: Check the running container.**

Once the container is deployed, check whether container is running. Follow below commands.

# docker ps

CONTAINER ID   IMAGE                    COMMAND       CREATED      STATUS PORTS                                                                                      NAMES
d5d2ff3a49ec   crm  "/bin/bash"   4 days ago   Up 1 minute   0.0.0.0:80->8080/tcp, [::]:80->8080/tcp, 0.0.0.0:443->8443/tcp, [::]:443->8443/tcp   crm

**Step 6: Access the iCRM application in Browser**

Once verified the container running, later Access iCRM site in browser below given url and login credentials which is mentioned in Readme file.

URL:  http://serverIP/admin-portal/control/main

![image](https://github.com/user-attachments/assets/dca74c65-93c0-4762-bae9-7f9c22e44d49)


**Congratulation’s!** You have successfully deployed the iCRM software your Linux system.


MongoDB Logo MongoDB