flatisfy/docker/docker_run.sh

21 lines
395 B
Bash
Raw Normal View History

2017-06-13 20:08:49 +02:00
#!/bin/bash
cd /home/user/app
python -m flatisfy build-data -v --config /flatisfy/config.json
# Run the server in the background.
python -m flatisfy serve --config /flatisfy/config.json &
while true;
do
cd /home/user/weboob
git pull
cd /home/user/app
python -m flatisfy import -v --config /flatisfy/config.json
echo "Done, sleeping for 30 minutes."
sleep 1800
2017-06-13 20:08:49 +02:00
done