Policy Platform Development
----------------------------
+###########################
.. contents::
:depth: 2
The procedure documented in this article has been verified to work on a MacBook laptop running macOS Yosemite Version 10.10,5, Sierra Version 10.12.6, a HP Z600 desktop running Ubuntu 16.04.3 LTS, and an Unbuntu 16.04 VM.
Cloning All The Policy Repositories
------------------------------------
+***********************************
Run a script such as the script below to clone the required modules from the `ONAP git repository <https://gerrit.onap.org/r/#/admin/projects/?filter=policy>`_. This script clones all the ONAP Policy Framework repositories.
Building ONAP Policy Framework Components
------------------------------------------
+*****************************************
**Step 1:** Optionally, for a completely clean build, remove the ONAP built modules from your local repository.
Building the ONAP Policy Framework Docker Images
-------------------------------------------------
+************************************************
The instructions here are based on the instructions in the file *~/git/onap/policy/docker/README.md*.
**Step 1:** Build the Policy API Docker image
Starting the ONAP Policy Framework Docker Images
-------------------------------------------------
+************************************************
In order to run the containers, you can use *docker-compose*. This uses the *docker-compose.yml* yaml file to bring up the ONAP Policy Framework. This file is located in the policy/docker repository.