# Build from source This guide provides step-by-step instructions for building the `Time Series Analytics` microservice and `Wind Turbine Anomaly Detection` or `Weld Anomaly Detection` Sample Application from source. Please follow [prerequisites](../get-started.md#configure-docker) and understand the data flow of the selected app before proceeding with the below steps. ## Steps to Build from Source 1. **Clone the source and build the `Time Series Analytics` microservice**: ```bash git clone https://github.com/open-edge-platform/edge-ai-libraries.git git checkout release-2025.2.0 cd edge-ai-libraries/microservices/time-series-analytics/docker # build docker compose build ``` > **Note:** > To include copyleft licensed sources when building the Docker image, use the below command: > > ```bash > docker compose build --build-arg COPYLEFT_SOURCES=true > ``` 2. **Clone the source and build the sample app**: ```bash git clone https://github.com/open-edge-platform/edge-ai-suites.git cd edge-ai-suites/manufacturing-ai-suite/industrial-edge-insights-time-series # build make build # builds only data simulator (OPC-UA server and MQTT publisher) docker images ``` > **Note:** > To include copyleft licensed sources when building the Docker images, use the below command: > > ```bash > make build_copyleft_sources > ``` 2. **Docker compose deployment and Verification**: Follow the remaining steps/sections starting from [docker compose deployment](../get-started.md#deploy-with-docker-compose)