https://github.com/GeoscienceAustralia/PyRate
Tip revision: 2bb431309d7402bd2733a3d968394ffc30553945 authored by Matt Garthwaite on 19 May 2020, 23:36:29 UTC
fix Travis deployment to gh-pages
fix Travis deployment to gh-pages
Tip revision: 2bb4313
docker_install.txt
# docker cleanup https://docs.docker.com/ee/dtr/user/manage-images/delete-images/
# Docker Setup
git clone git@github.com:GeoscienceAustralia/PyRate.git
cd PyRate
cd C:/Users/sheec/Desktop/Projects/PyRate
docker load < data/pyrate-image.tar
docker build -t pyrate-image:1.0 .
docker build --no-cache -t pyrate-image:1.0 .
docker run -it --rm -v %cd%:/PyRate pyrate-image:1.0 /bin/bash
# build PyRate package
cd /PyRate
pip3 install -r requirements-dev.txt
pip3 install -r requirements-test.txt
pip3 install pyproj==2.2.1
cd /PyRate && python3 setup.py install
# Run workflow
pyrate conv2tif -f input_parameters.conf
pyrate prepifg -f input_parameters.conf
pyrate process -f input_parameters.conf -c 3 -r 4
pyrate merge -f input_parameters.conf -c 3 -r 4
# Build Sphinx docs
cd /PyRate/docs && make html
# Run tests
cd /PyRate
chmod 444 tests/test_data/small_test/tif/geo_070709-070813_unw.tif
cd /PyRate && python3 -m pytest tests/
# Random stuff
pip install tox
tox
# 64 failed, 236 passed, 1944 skipped