#!/bin/sh

echo "----"
echo "Initializing development environment for UI-only development."
echo "----"

CONFIG_TYPE=$1

if [ "x$CONFIG_TYPE" = "x" ]
then
  CONFIG_TYPE="local"
fi

cp configs/version.js version.js
cp configs/config-$CONFIG_TYPE.js config.js

echo "Done.  Try:  'npm run dev'"
