#!/bin/sh

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

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

php -S localhost:8080 -t web web/index.php
