git clone https://github.com/SbWereWolf/fias.git# Let suppose the base are downloaded to /opt/ directorytime unzip /opt/fias_dbf.zip -d ./fias/fs/home/fias/base/ \&&time find ./fias/fs/home/fias/base/ -type f -regextype posix-awk \ -regex".*\/(STEAD|NORDOC)([0-9]{2}|[0-9]{4})\.DBF$" -exec rm {}\;cd fiaschmod +x ./install.sh&& ./install.sh# at this point we can edit docker-compose.ymltime bash ./run.sh&&time bash ./deploy.sh
# Let suppose the app are installed to /home/ directorycd /home/fias/bash ./run.sh# Purge destination directory before unzip update archiverm -rf ./fs/home/fias/update/*# Let suppose the update are downloaded to /opt/ directorytime unzip /opt/fias_delta_dbf.zip -d ./fs/home/fias/update/ \&&time find ./fs/home/fias/update/ -type f -regextype posix-awk \ -regex".*\/(STEAD|NORDOC)([0-9]{2}|[0-9]{4})\.DBF$" -exec rm {}\;time bash ./update.sh