From ebb3cca74c695dcaa4c8ef942552a256f9e4a714 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Thu, 23 Jun 2016 15:53:35 +0200
Subject: [PATCH] add docs on how to keep cluster conda envs up to date

---
 docs/update-conda-cluster.md | 44 ++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 docs/update-conda-cluster.md

diff --git a/docs/update-conda-cluster.md b/docs/update-conda-cluster.md
new file mode 100644
index 00000000..437e9ffe
--- /dev/null
+++ b/docs/update-conda-cluster.md
@@ -0,0 +1,44 @@
+# Update conda ```wetb_py3``` environment and ```wetb```
+
+There are pre-configured miniconda/anaconda python environments installed on
+Gorm and Jess at:
+```
+/home/python/miniconda3/envs/wetb_py3
+```
+Note that these refer to the home drives of Gorm and Jess respectively and thus
+refer to two different directories (but are named the same).
+
+Update the root Anaconda environment:
+```
+conda update --all
+```
+
+Activate the ```wetb_py3``` environment:
+```
+source activate wetb_py3
+```
+
+
+Update the ```wetb_py3``` environment:
+```
+conda update --all
+```
+
+Pull latest wetb changes and create re-distributable binary wheel package for
+```wetb_py3```:
+```
+cd /home/MET/repositories/tooblox/WindEnergyToolbox
+git pull
+python setup.py bdist_wheel -d dist/
+```
+
+And install the wheel package (```.whl```)
+```
+pip install --no-deps -U dist/wetb-X.Y.Z.post0.devXXXXXXXX-cp35m-linux_x86_64.whl
+```
+
+The option ```--no-deps``` is used here to avoid pip installing possible newer
+versions of packages that should be managed by conda. This only works when all
+dependencies of ```wetb``` are met (which is assumed by default for the
+```wetb_py3``` environment).
+
-- 
GitLab