OpenMapKit Server is a NodeJS service, so you'll need NodeJS version 4.x.
Install dependencies:
sudo apt-get install default-jre-headless
sudo apt-get install build-essential python-pip git
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install nodejs
The ODK pyxform component requires python dependencies that are installed via pip. The best way to install pip on a Mac is through Homebrew:
brew install pythonMake sure you have installed Java. pyxform has a Java dependency (JavaRosa). Full instructions on Stack Overflow.
brew cask install javaAlso make sure you have installed NodeJS and git.
Install project dependencies.
git submodule init
git submodule update
sudo pip install -r requirements.txt
npm installnpm startIf npm start is failing, run npm start --verbose to see detailed log execution.
You might encounter Error: Could not locate the bindings file. Run npm install libxmljs to fix this.
We are using node version 4.*. If you are having problems with another version, use node version manager.
nvm install
nvm use