flatisfy/docker/fetch.sh

12 lines
212 B
Bash

#!/bin/bash
set -e
echo "Updating Weboob..."
cd /home/user/weboob
git pull
pip install --upgrade .
echo "Fetching housing posts..."
cd /home/user/app
python -m flatisfy import -v --config /flatisfy/config.json