From dfc8e9c00546b87259b707be3af4c651651cbf35 Mon Sep 17 00:00:00 2001 From: Joe Conway Date: Fri, 17 Feb 2017 12:34:40 -0800 Subject: [PATCH] Subsequent deployments need a fresh start After the first deployment, subsequent ones need to clear out the target dir because the deployment script will not remove unneeded files. Add that to the instructions. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3e12a94..03c450a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ The same goes for 'mediabase'. Also add this line to context.override.json follo Finally, run the following to deploy: ``` cd "${WORKDIR}" +# the next line not needed the first time deploying +rm -rf 2017.postgresopen.org/* pgeu-website/tools/deploystatic/deploystatic.py $(pwd)/pgopen2017 $(pwd)/2017.postgresopen.org ```