flatisfy/docker/run.sh

17 lines
427 B
Bash
Raw Normal View History

2017-11-27 12:23:08 +01:00
#!/bin/bash
set -e
echo "Setting fake values for git config..."
git config --global user.email flatisfy@example.com
git config --global user.name "Flatisfy Root"
echo "Building data for Flatisfy..."
cd /home/user/app
python -m flatisfy build-data -v --config /flatisfy/config.json
echo "Fetching new housing posts..."
/home/user/fetch.sh
echo "Starting web UI..."
2017-11-27 13:57:47 +01:00
python -m flatisfy serve -v --config /flatisfy/config.json