#!/bin/sh

if [ -z "$API_KEY" ] || [ -z "$API_SECRET" ]
then
  export API_KEY=
  export API_SECRET=
fi

if [ -d "cache" ]
then
  rm -rf cache/
fi

php -S localhost:8080 -t web/
