#!/bin/bash

# NOW=$(date +"%Y%m%d")

export VERSIONER_PYTHON_VERSION=2.6
export VERSIONER_PYTHON_PREFER_32_BIT=yes
export PYTHONPATH=../../../../mysql-mac-res/python


echo Creating webui repository...

python ./mysqldoclib.py --db=./output/mysqldoclib_webui.sqlite build-webui

#mkdir -p ~/Library/Application\ Support/MySQL/DocLibrary/
#cp ./repository/mysqldoclib_webui.sqlite ~/Library/Application\ Support/MySQL/DocLibrary/.

echo Done.
