Revision f77ad6e7fd90f3c0eb255bd553d4666b5db40bcf authored by Matt Garthwaite on 04 August 2020, 00:12:52 UTC, committed by Matt Garthwaite on 04 August 2020, 00:12:52 UTC
1 parent e326b29
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
Computing file changes ...