flatisfy/docker/fetch.sh

12 lines
212 B
Bash
Raw Normal View History

2017-11-27 12:23:08 +01:00
#!/bin/bash
set -e
echo "Updating Weboob..."
cd /home/user/weboob
git pull
pip install --upgrade .
2017-11-27 12:23:08 +01:00
echo "Fetching housing posts..."
cd /home/user/app
python -m flatisfy import -v --config /flatisfy/config.json