---
title: Offline Installation Digital Factory Demo
slug: solutions/offline-installation-digital-factory-demo
docTags: 
createdAt: 2024-02-09T20:51:40.915Z
---

# Files and ReferencesDownload the docker-compose image and the Litmus Edge Template File from Central Portal marked with the "OFFLINE" Flag.# Setup## Upload Containers (PLC Simulators, MSSQL Database, Grafana Dashboards)1) Upload the images to Applications > Images. You will have to upload the MSSQL image via FTP. To be able to upload images using FTP, follow [Manage FTP and System Services](docId:8WXaruBsl0wubj_tsL3ha), [Add an FTP User](docId\:mCl0LRotQ1vOOa5E2crmi) and [Manage FTP Users](docId\:X79-jAyBB2x0N3d0oeV4U). You can use an FTP solution such as FileZilla.To upload the images, follow Applications > Images > “+” > Upload > Select Docker Image, then add the images![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/fbHwBVW10XrgJcvMiF7GO_image.png)The FTP Service can be found here: ![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/pptV34HI_UECsL3p0LGeA_image.png)Once all seven images are uploaded, the result will look as shown below in Applications > Images:![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Y9T-H0ipHfLrBFOLtikNZ_image.png)## Install Containers (PLC Simulators, MSSQL Database, Grafana Dashboards)1) Run the below command below in Applications > Containers. Allow a couple of minutes for the containers to fully run. Replace&#x20;:::BlockQuote
docker run -it -d --rm -v /var/run/docker.sock:/var/run/docker.sock -e HOST\_IP="\<IP\_ADDRESS\_OF\_LE>" -e OFFLINE\_INSTALL=true litmus/demo\_install
:::## Upload Template1) Go to System > Backup/Restore > Template > Upload Template
2) Upload the “Template.json” file![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/OAi-HLMvP2xphl23cs0cI_image.png)### Enable Data Store**NOTE**: This step might be unnecessary with **3.11.0**1) Go to DeviceHub > Devices
2) Check the “Enable Data Store” and set to 24 (hours)
3) Click on “Update Device”. Do this for all the devices (this is by design)![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/c2WGjoQRsm0hvmBx3oxCZ_image.png)### Authenticate Database Access1) Go to Flows  >  1. production
2) Choose “Global Code Matrix” tab and double click the “Insert Record” node
3) Click on the pencil icon
4) Add the Username and Password (shown below)
5) Click Update
6) This username and password will need to be performed in the following nodes:
   1. Flows Manager > 3. Startup and Maintenance > "Clear Old Records" tab > MSSQL-PLUS node
   2. Flows Manager > 4. Energy Monitoring, CBM and CDM >  "Scheduled Work Order" tab > MSSQL-PLUS node
   3. Flows Manager > 4. Energy Monitoring, CBM and CDM > "Condition Based Monitoring (CBM)" tab > MySQL\_CBM node![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/SGVSWBttiYx2zzpRxzINA_image.png)![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/oGxRRhdg1pBpnLHMoZkbP_image.png)- **Note**: Make sure you “Deploy” the changes in Flows1. Lastly, you will need to add a user to the internal LE database tsdata. To add the user, go to DataHub > DB Users and press the "+" button.&#x20;![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/a4OOgWhZ9L8IpZXvuXnSG_image.png)1. Add the user created in step above to the Flows Manager > 4. Energy Monitoring, CBM and CDM > InfluxDB node.&#x20;![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/qAB3Bes2PmOMr1jxsGLca_image.png)### Activate Digital Twin ModelsGo to Digital Twins > Instances and turn on all the digital twin instances one by one.![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/gvopP4aA0E6vtC6NRZrQb_image.png)### Activate Integrations ConnectionsActivate the following Integrations:* Insert Scheduled Work Order
* Insert Downtime History
* Insert Anomaly History
* Insert Scrap History![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/iIQuTqHMrYuxfm_0jlQOF_image.png)### Access Grafana1) Browse to the IP address of the Litmus Edge and add “:3000” to the URL
2) Login to Grafana using admin/admin
3) Change the password (or skip)
