# Reference Application - Vagrant Setup Error

**URL:** <https://talk.openmrs.org/t/reference-application-vagrant-setup-error/10524>\
**Category:** Development\
**Created:** [March 13, 2017, 11:34am UTC](https://talk.openmrs.org/t/reference-application-vagrant-setup-error/10524 "2017-03-13T11:34:20Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![merovingienne](https://talk.openmrs.org/user_avatar/talk.openmrs.org/merovingienne/32/8219_2.png) [@merovingienne](https://talk.openmrs.org/u/merovingienne)\
**Post date:** [March 18, 2017, 10:24pm UTC](https://talk.openmrs.org/t/reference-application-vagrant-setup-error/10524/9 "2017-03-18T22:24:47Z")

</div>

I’ve been testing possible methods of setting up a dev environment for the Reference Application with local builds and so far I’ve come up with the following;

1. OpenMRS SDK Setup server with platform version Build RA from GitHub sources Manually copy modules from the built distro to server modules folder in openmrs at User Account root.
2. With Tomcat Build RA from GitHub sources Copy built openmrs platform from distro to Tomcat Webapps folder Copy modules from the built distro to server modules folder in .OpenMRS (note the difference in folders) at User Account root.

Deploying with Tomcat throws up a UI Framework error as shown [here](http://pastebin.com/1wZE0NVe).

I suspect the following methods are also possible, but haven’t been able to test them with my limited knowledge as a newcomer.

1. Build server and run it offline with locally built Ref App through SDK.

I would like to know how to achieve this last method and whether I am missing any other mechanisms.

Especially, I could not find instructions on how to run a local build of Ref App on top of a server from SDK in one command. If I understood correctly, the method mentioned [here](https://talk.openmrs.org/t/how-do-i-use-the-sdk-to-run-a-reference-application-server/4491/5) by @darius sets up a Ref App instance with data fetched from remote repositories.

---

_[View the full topic](https://talk.openmrs.org/t/reference-application-vagrant-setup-error/10524)._
