25.2 Quick-start docker install

git clone git@github.com/pecanproject/pecan
cd pecan

# start database
docker-compose -p pecan up -d postgres

# add example data (first time only)
docker-compose run --rm bety initialize
docker run -ti --rm --network pecan_pecan --volume pecan_pecan:/data --env FQDN=docker pecan/data:develop

# start PEcAn
docker-compose -p pecan up -d

# run a model
curl -v -X POST \
    -F 'hostname=docker' \
    -F 'modelid=1000000014' \
    -F 'sitegroupid=1' \
    -F 'siteid=772' \
    -F 'sitename=Niwot Ridge Forest/LTER NWT1 (US-NR1)' \
    -F 'pft[]=temperate.coniferous' \
    -F 'start=2004/01/01' \
    -F 'end=2004/12/31' \
    -F 'input_met=5000000005' \
    -F 'email=' \
    -F 'notes=' \
    'http://pecan.localhost/pecan/04-runpecan.php'