sudo apt-get install virtualenv
sudo apt-get install libpython-dev
sudo apt-get install build-essential
mkdir it3sit
cd it3sit
git clone https://github.com/petrgru/flask-skeleton-novy.git
cd flask-skeleton-novy
### v requirements.txt je zakomentovany konektor na postgressDB radek psycopg2==2.5.2
virtualenv ../.venv
. ../.venv/bin/activate
pip install -r ./requirements.txt
#nasledne vytvorit DB
python manage.py db upgrade
a spustit server
python manage.py runserver
pripadne aktualizovat DB model
pokud chcete vytvorit novou databazi musite smazat
rm migrations/versions/*
rm dev.db
python manage.py db upgrade
python manage.py db migrate
python manage.py db upgrade